summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins/winswack.c
AgeCommit message (Collapse)AuthorFilesLines
2009-08-07fixed several places that unnecessarily take a reference to the event contextAndrew Tridgell1-2/+2
These references were triggering the ambiguous talloc_free errors from the recent talloc changes when the server is run using the 'standard' process model instead of the 'single' process model. I am aiming to move the build farm to use the 'standard' process model soon, as part of an effort to make our test environment better match the real deployment of Samba4. The references are not needed as the way that the event context is used is as the 'top parent', so when the event context is freed then all of the structures that were taking a reference to the event context were actually freed as well, thus making the references redundent.
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher1-2/+2
metze
2008-12-29s4:lib/tevent: rename structsStefan Metzmacher1-1/+1
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze
2008-09-23s4-nbt: use private_data instead of private.Günther Deschner1-4/+4
Guenther
2008-01-05r26670: Janitorial: Remove global_loadparm uses.Jelmer Vernooij1-1/+1
(This used to be commit 13cc6ca1d3c2b5899bdd02c4c7306a92baa260f5)
2007-12-21r26426: Remove uses of global_loadparm.Jelmer Vernooij1-1/+1
(This used to be commit e1d177c8c1101965479f7ade2270490cd6fae4f2)
2007-12-21r26409: Pass smb ports along.Jelmer Vernooij1-1/+2
(This used to be commit 2833f320de1f1fd39c710ad0a61c3fa1bb1df31f)
2007-12-21r26408: Remove use of global_loadparm.Jelmer Vernooij1-2/+5
(This used to be commit f933b4362124bfdd25544b4e27992d9ca4405848)
2007-12-21r26309: Move specification of port higher up the all stack.Jelmer Vernooij1-0/+3
(This used to be commit 7de55cde7c7fe0141c05c8a38248667ebf3a9033)
2007-10-10r25546: Convert to standard bool type.Jelmer Vernooij1-9/+9
(This used to be commit ac83dbf199fd442fc994d43a6e5e9fda8d4c88b6)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r14709: allways use the unicast socket of the interface, when reply to DGRAMStefan Metzmacher1-4/+4
requests... this fixes a bug where I thought windows would try KRB5 via broadcast... metze (This used to be commit 0e7b224294ce6a3b5bbdc284181ab496a5a0c058)
2007-10-10r12607: fix the buildStefan Metzmacher1-1/+1
metze (This used to be commit 5cc955bf5400a415e462853cff47a69ef206a548)
2007-10-10r12606: - fix multihomed registrationsStefan Metzmacher1-209/+3
always remove the addresses which are no longer valid - use the wins_challenge_send/recv calls which are also used by the replication challenge metze (This used to be commit 037b5d9f3661fd7a121d1db0a50dc7743d62a5e1)
2007-10-10r12217: add my copyrightStefan Metzmacher1-0/+1
metze (This used to be commit f251c5709678415521b3ebae413a6616daa6e50a)
2007-10-10r12022: add NBTD IRPC proxy calls for wins challenge and wins release demand,Stefan Metzmacher1-0/+367
used for replication conflicts metze (This used to be commit d7d14cb2bd9823d7e7d81266ca4014ea5263c714)
2007-10-10r11913: if we have a UNIQUE name with more than 1 address,Stefan Metzmacher1-0/+5
it becomes implicit an MHOMED record metze (This used to be commit a5bced92a91f462ac6c41c04012aaeb3f77455de)
2007-10-10r11912: fix nbt_name_registration, there's still some minor stuff todo,Stefan Metzmacher1-10/+9
e.g. to return the first address of the 0x1B address as first address in the 0x1C reply, and handle sgroup merge overflow of 25 addresses metze (This used to be commit a80280e061c03f9d07f7d6df20228de7923bb000)
2007-10-10r11877: - give winsdb_add/modify/delete() ldb_context as first argumentStefan Metzmacher1-1/+1
and add a flags argument to add and modify,the current flags are: WINSDB_FLAG_ALLOC_VERSION to allocate a new version id for the record WINSDB_FLAG_TAKE_OWNERSHIP to take the become the wins owner of the record - fix handling of records with no addresses, this is valid for MHOMED and SGROUP records when they're not in ACTIVE state metze (This used to be commit 0ffea2a7b898b1807e4cdcfbbeba9bd0c6792231)
2007-10-10r11040: r10357@SERNOX: metze | 2005-09-20 21:28:11 +0200Stefan Metzmacher1-2/+3
- as the old records are broken sinse the last winsdb_dn() changes, (the dn components order was reversed) we can use nicer attribute and objectClass names... - use much more verbose error handling for winsdb_* - print a debug message when we found a corrupted record metze (This used to be commit 82bad3f3efec5b706a65e65054787f1486d7c875)
2007-10-10r11027: r10319@SERNOX: metze | 2005-09-19 18:31:23 +0200Stefan Metzmacher1-3/+6
- store the wins owner on the record and the wins owner and expire time on each address - we use "0.0.0.0" to mark entries which are registered at the local wins server - we use this ldif-format: address: 172.31.9.1;winsOwner:0.0.0.0;expireTime:20050923032337.0Z address: 172.31.1.1;winsOwner:172.31.9.202;expireTime:20050923032330.0Z metze (This used to be commit 752025a0e10bfea646784087b5128841ec127a65)
2007-10-10r11026: r10318@SERNOX: metze | 2005-09-19 16:38:15 +0200Stefan Metzmacher1-8/+7
move to struct winsdb_addr, (I'll add expiry_time and the wins_owner later tridge: can you please review the new winsdb_addr_* functions carefull, look for off-by-one bugs, etc. metze (This used to be commit 72eba90465c478ac9d363ed0c88efea27afd158e)
2007-10-10r10997: r11980@SERNOX (orig r10037): metze | 2005-09-05 14:21:40 +0200Stefan Metzmacher1-13/+12
add struct nbt_peer_socket and use it instead of passing const char *addr, uint16 port everyhwere (tridge: can you review this please, (make test works) metze (This used to be commit a599d7a4ae881c94be2c2d908a398838549942bb)
2007-10-10r5454: moved the WINS server code into its own directoryAndrew Tridgell1-0/+213
(This used to be commit 0bb997127fe6c49361d9f1eaeda5d9321601a52a)