summaryrefslogtreecommitdiff
path: root/source4/nbt_server/wins
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r15956: fix warningsStefan Metzmacher1-3/+3
metze (This used to be commit e874a099667c7213cc8dda0a94bf749d7706fbb5)
2007-10-10r15944: rename LDB_ASYNC_ADD -> LDB_ADD, LDB_ASYNC_MODIFY -> LDB_MODIFY, etc...Simo Sorce1-2/+2
(This used to be commit 55d97ef88f377ef1dbf7b1774a15cf9035e2f320)
2007-10-10r15942: Remove the sync internal ldb calls altogether.Simo Sorce1-15/+0
This means that some modules have been disabled as well as they have not been ported to the async interface One of them is the ugly objectclass module. I hope that the change in samldb module will make the MMC happy without the need of this crappy module, we need proper handling in a decent schema module. proxy and ldb_map have also been disabled ldb_sqlite3 need to be ported as well (currenlty just broken). (This used to be commit 51083de795bdcbf649de926e86969adc20239b6d)
2007-10-10r15927: Optimize ldb module traverse while keeping the API intact.Simo Sorce1-16/+20
I was sick of jumping inot each module for each request, even the ones not handle by that module. (This used to be commit 7d65105e885a28584e8555453b90232c43a92bf7)
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-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij3-0/+3
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14459: Make this async compatibleSimo Sorce1-8/+13
(This used to be commit a71d762acff73a5ba11927a3afbcbf404314aa24)
2007-10-10r14380: Reduce the size of structs.hJelmer Vernooij1-0/+1
(This used to be commit 1a16a6f1dfa66499af43a6b88b3ea69a6a75f1fe)
2007-10-10r14078: move ldb_global_init() to the main smbd code,Stefan Metzmacher1-2/+0
to fix the process_model standard metze (This used to be commit a465126e15490c5605064eb2387fb589d312db7b)
2007-10-10r13924: Split more prototypes out of include/proto.h + initial work on headerJelmer Vernooij3-0/+6
file dependencies (This used to be commit 122835876748a3eaf5e8d31ad1abddab9acb8781)
2007-10-10r13786: [merge] Add registration functions for LDB modulesJelmer Vernooij2-23/+21
Applications that use LDB modules will now have to run ldb_global_init() before they can use LDB. The next step will be adding support for loading LDB modules from .so files. This will also allow us to use one LDB without difference between the standalone and the Samba-specific build (This used to be commit 52a235650514039bf8ffee99a784bbc1b6ae6b92)
2007-10-10r13615: Make ldb_set_errstring get ldb instead of module as parameter.Simo Sorce1-1/+1
The module was just used to get to the ldb so it was meningless. Also add LDB_WAIT_ONCE e relative code in ldb_ildap.c (This used to be commit d5b467b7c132b0bd4d23918ba7bf3370b1afcce8)
2007-10-10r13117: the caller may reference the winsdb_addr struct,Stefan Metzmacher1-1/+0
and as a winsdb_record has a short lifetime, it's no problem to not free unused addresses directly metze (This used to be commit 2a7e22c1171475976d26c6f23ab9c6a19703e718)
2007-10-10r13116: make sure we don't add more than 25 addresses to a record,Stefan Metzmacher2-16/+165
and don't return more than 25 in a name query reply we now also order the addresses from the newest owned address to the oldest replica address metze (This used to be commit 602ec0f1c66e6cb9e958e0e7cc10d3294737378a)
2007-10-10r13115: call the wins hook script on modifications of the wins.ldbStefan Metzmacher1-8/+56
tridge: can you please look at the /* TODO: close file handles */ btw I'm not interessted in any result from the script... metze (This used to be commit 93409faddf610e7fd6cc910a1e2fd32e69aa7c1d)
2007-10-10r13087: don't store timestamps for static recordsStefan Metzmacher1-18/+22
(only a per record timestamp when it's not active) metze (This used to be commit aba54b870852a9e1ccc442703591fda0f5bde51b)
2007-10-10r13060: - return only active addresses in name query responsesStefan Metzmacher2-17/+41
- replicate only active addresses metze (This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
2007-10-10r13005: - use nbtd:max_refresh_time=12345 also for name refresh with a wins ↵Stefan Metzmacher1-10/+18
server metze (This used to be commit 5e3639edaf551068466caaf48faa9b2bbfed1041)
2007-10-10r12909: add an ldb module for the wins.ldb,Stefan Metzmacher4-5/+230
it currently doesn't do much, but it's later prevent adding corrupted records via ldbedit, and will take care of the versionID counter metze (This used to be commit a6f279bc43c74cf4dc116cb6ba99f1aed13a4de9)
2007-10-10r12906: return the correct nb_flagsStefan Metzmacher1-1/+8
metze (This used to be commit c52436108d1628feb50c9bf720ae30c4dc469b34)
2007-10-10r12898: prepare the 'wins hook' feature, but we only debug out a 'TODO: run ↵Stefan Metzmacher3-0/+60
script ...' metze (This used to be commit d28c8ce66db61cff193ac06e8e5d7d6aa5059e9e)
2007-10-10r12897: make it possible to use nosync transaction to speed things up,Stefan Metzmacher1-1/+6
(just for testing) metze (This used to be commit 677c1aa4663e9e5f0729a312152565a6740dbab2)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett2-23/+31
structure that is more generic than just 'IP/port'. It now passes make test, and has been reviewed and updated by metze. (Thankyou *very* much). This passes 'make test' as well as kerberos use (not currently in the testsuite). The original purpose of this patch was to have Samba able to pass a socket address stucture from the BSD layer into the kerberos routines and back again. It also removes nbt_peer_addr, which was being used for a similar purpose. It is a large change, but worthwhile I feel. Andrew Bartlett (This used to be commit 88198c4881d8620a37086f80e4da5a5b71c5bbb2)
2007-10-10r12779: allow static tomstonesStefan Metzmacher1-9/+3
metze (This used to be commit 966872646e5ac38ed5b3eb41cf339ec8f1583f17)
2007-10-10r12755: check the return value of ldb_timestring(), as this fails,Stefan Metzmacher1-4/+13
when gmtime() fails... metze (This used to be commit 523746f2712371041800301294c73bb7686bf2d5)
2007-10-10r12700: fix name release of replica records, we need to become the owner and ↵Stefan Metzmacher3-25/+51
allocate a new versionID so that it gets replicated to the old owning wins server directly metze (This used to be commit 72198f00ea933db68f7ec5d85cac00c98b37a077)
2007-10-10r12673: create functions for get_maxVersion(), set_maxVersion() and ↵Stefan Metzmacher1-9/+73
get_seqnumber() at the winsdb layer. the ones in wrepl_server/ will be removed later. metze (This used to be commit 22cdbc75df3bedfc651891f708a3439ccc77abcc)
2007-10-10r12648: implement the dns proxy featureStefan Metzmacher1-1/+56
metze (This used to be commit b07b201c8671e04d6faae162d883d84c79f0ee94)
2007-10-10r12647: make use of the str_list_add functionStefan Metzmacher1-6/+4
metze (This used to be commit e47873a1a391c8a8b469528d44c17dfe1ea2f553)
2007-10-10r12644: prepare the dns proxy feature for the wins serverStefan Metzmacher2-1/+50
metze (This used to be commit 48842cd9abcff744851ad1481309fb901be3a73b)
2007-10-10r12619: make sure we don't return more than 25 addresses, as w2k3 crashes in ↵Stefan Metzmacher1-0/+4
that case I still need to make sure we didn't write such records to our database... metze (This used to be commit d0dc0ffa3160041e137b629b4dbbe821044edfe3)
2007-10-10r12618: use our primary interface address or the "winsdb:local_owner" -addressStefan Metzmacher3-25/+33
as winsOwner: attrbute for owned records metze (This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)
2007-10-10r12617: create a winsdb_handle and pass that arround,Stefan Metzmacher2-11/+34
so we later can hang the local owner address, on this handle too metze (This used to be commit 49ba4cc11144671cafcbe2967954bfd786ea6e76)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-1/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12607: fix the buildStefan Metzmacher4-3/+4
metze (This used to be commit 5cc955bf5400a415e462853cff47a69ef206a548)
2007-10-10r12606: - fix multihomed registrationsStefan Metzmacher3-211/+264
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-10r12580: return the first 0x1B address as first address to 0x1C queriesStefan Metzmacher1-0/+42
metze (This used to be commit 669009579dfe93b4d5008f93c2949dd4d929baf4)
2007-10-10r12578: - w2k3 allows entries with 127.0.0.1 as address, so we should doStefan Metzmacher1-8/+1
to make it possible to add a static record for localhost or so... - we already make sure we don't register 127.0.0.1 with our wins server, so the check for loopback in the non-wins name queries is enough metze (This used to be commit f68a883daf4c792e95f7a4be9e7d00e82cc0517b)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12535: - simplify string list handling in a couple of places using ↵Andrew Tridgell2-8/+11
str_list_add() - don't reply with 127.0.0.1 in NBT or WINS name queries unless the query came in on the loopback interface. Otherwise clients can end up talking to themselves, which is not very productive :-) (This used to be commit df00f8b3428c6d1254e66275c90ae4025cb52c47)
2007-10-10r12440: fix crash bugsStefan Metzmacher1-0/+9
metze (This used to be commit c7049f8bb60d075921e1ac4d04bf1a216cd0a5f2)
2007-10-10r12429: make static records always active with a max expire timeStefan Metzmacher1-0/+20
metze (This used to be commit 387d680b6f7d3470841a3c0ad3963b0c14853e45)
2007-10-10r12428: releases on 0x1D names are ignoredStefan Metzmacher1-0/+4
metze (This used to be commit 84ba71ba274fca91f6f411a46e0a88dc3048df63)
2007-10-10r12426: w2k3 refused 0x1B names registered as group namesStefan Metzmacher1-0/+6
metze (This used to be commit 4ce4baa1b9f509e5b2ebe7921defc12c9cee74d4)
2007-10-10r12425: match w2k3 and store 0x1D names when they're registered as group name,Stefan Metzmacher1-3/+10
but queries still give not found metze (This used to be commit 2e69a7cc21d796e091127c71c0234f9cd09543fd)
2007-10-10r12424: static records should not be releasedStefan Metzmacher1-0/+8
metze (This used to be commit 3f90e72e5a0b839ba16892e8ee8aa46967d081da)
2007-10-10r12412: - the 0x1E name must be registered as group nameStefan Metzmacher1-0/+13
- reject wins registration with a static record in the database metze (This used to be commit 66b57f5fbf1c2a35972950d655695f014e57d9c5)
2007-10-10r12287: move the wins.ldb into lockdirStefan Metzmacher1-2/+2
metze (This used to be commit bcf04a49e329af6c2a72c0a9cf037cc4efeeb26f)
2007-10-10r12229: fix the expire time for released recordsStefan Metzmacher1-1/+1
metze (This used to be commit 6d355a953838bb551b6aef05b2daaeae13682a7b)
2007-10-10r12228: fix the expire time for RELEASED recordsStefan Metzmacher2-7/+29
metze (This used to be commit afb0f660a2e4e5ae78c2906e2acf9eba50ea598f)