summaryrefslogtreecommitdiff
path: root/source4/wrepl_server/wrepl_in_call.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r13345: let us replicate with NT4sp6aStefan Metzmacher1-0/+20
I don't yet know what the extra data in the start_association call mean... This also let w2k use WREPL_REPL_INFORM messages to us, but w2k3 doesn't it do it yet... metze (This used to be commit 02d6dfa1da754857c28125392a561cfde0087c48)
2007-10-10r13060: - return only active addresses in name query responsesStefan Metzmacher1-8/+21
- replicate only active addresses metze (This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
2007-10-10r13050: when we have reloaded the partners from wins_config.ldbStefan Metzmacher1-3/+19
after a new partner connects, try to find the partner struct on a per call basis if it's not present on the connection yet add some more useful debug messages metze (This used to be commit e57158e216e3564faa337288734d9efb30ab838d)
2007-10-10r12804: This patch reworks the Samba4 sockets layer to use a socket_addressAndrew Bartlett1-1/+2
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-10r12796: use the correct address as initiatorStefan Metzmacher1-4/+2
metze (This used to be commit ba97e7c06af6f919a66622c1a6b6e58980ab2b9e)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-1/+0
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12679: create a sperate function to create the 'winsOwner' part of the ↵Stefan Metzmacher1-2/+7
search filter, this is to handle the special '0.0.0.0' of old or manual added owned records metze (This used to be commit 4c7306608cc3f86c31ed044bc41eda905b64b31f)
2007-10-10r12677: get rid of the special cases for the local wins owner table entry,Stefan Metzmacher1-12/+14
the call to winsdb_get_maxVersion() is moved into place. This allows us to fetch records with the owner address that matches our local_owner address, this is important if the restart with an empty wins.ldb. w2k3 does this in the same way when you remove the database files from disk and restart the WINS-Service. metze (This used to be commit e43de87d06614206a858e1102cd82e7f02163bba)
2007-10-10r12618: use our primary interface address or the "winsdb:local_owner" -addressStefan Metzmacher1-10/+5
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 Metzmacher1-1/+1
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-5/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12532: log a message giving the IPs of non-partner clients trying WINS ↵Andrew Tridgell1-0/+2
replication (makes getting the wins config right much easier) (This used to be commit 3016c7ee138d29973dfd093de6589a9a798750a7)
2007-10-10r12391: use the new periodic schedule system for the pull replication tooStefan Metzmacher1-3/+1
metze (This used to be commit 3383568c31545a6716eb7045b56d516d507c0b4d)
2007-10-10r12200: - move the the winsreplication client and server code to the ↵Stefan Metzmacher1-2/+7
packet_context system - this needs to be in one big patch, because of the merging code, that changes client in server connections and the other way around - use socket_connect_send/_recv() in the client code metze (This used to be commit f0105b7fcdc3032d22444a1973927fff2dd9a06f)
2007-10-10r12021: remove shortpath for winsdb_lookup, this isn't neededStefan Metzmacher1-1/+1
metze (This used to be commit 8fb07b1ea8fdf353da832212289aceef20495bda)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter1-3/+8
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11896: max_version of 0 means unlimitedStefan Metzmacher1-0/+8
metze (This used to be commit 9872348ac81c6907ae1c76f909df13d5fd772b5a)
2007-10-10r11879: some fixes for the new ldb apiStefan Metzmacher1-3/+3
metze (This used to be commit f5b672edc07586afcd6ab5eebeb8ae1247a2b4ed)
2007-10-10r11567: Ldb API change patch.Simo Sorce1-11/+10
This patch changes the way lsb_search is called and the meaning of the returned integer. The last argument of ldb_search is changed from struct ldb_message to struct ldb_result which contains a pointer to a struct ldb_message list and a count of the number of messages. The return is not the count of messages anymore but instead it is an ldb error value. I tryed to keep the patch as tiny as possible bu as you can guess I had to change a good amount of places. I also tried to double check all my changes being sure that the calling functions would still behave as before. But this patch is big enough that I fear some bug may have been introduced anyway even if it passes the test suite. So if you are currently working on any file being touched please give it a deep look and blame me for any error. Simo. (This used to be commit 22c8c97e6fb466b41859e090e959d7f1134be780)
2007-10-10r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher1-78/+180
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10r11040: r10357@SERNOX: metze | 2005-09-20 21:28:11 +0200Stefan Metzmacher1-9/+4
- 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-10r11038: r10351@SERNOX: metze | 2005-09-20 16:11:17 +0200Stefan Metzmacher1-2/+8
fix namebuf_len, when type is 0x00 metze (This used to be commit 1b2effa01bf16f9575e7e43e037a0797f98426b8)
2007-10-10r11036: r10349@SERNOX: metze | 2005-09-20 15:38:31 +0200Stefan Metzmacher1-2/+136
we know answer send_requests correctly metze (This used to be commit aecc9ca1cc78ce5ea766954629c03ea866c36bc1)
2007-10-10r11033: r10343@SERNOX: metze | 2005-09-20 11:03:20 +0200Stefan Metzmacher1-7/+81
- reply to table_queries - reply to a send_request with an empty send_reply metze (This used to be commit a25279f05243fc89c2cc9267d59974bc17eaf47c)
2007-10-10r11014: r10139@SERNOX: metze | 2005-09-10 10:32:36 +0200Stefan Metzmacher1-27/+123
- w2k just ignores invalid packets, so we do now - w2k only checks the assoc_ctx when the opcode has the sepcific obcode bit's set - terminate the connection, when getting a WREPL_STOP_ASSOCIATION packet - some more special error handling proper torture test for all this cases are following later metze (This used to be commit 42b69461aad3942dde361d61b950445dd39882aa)
2007-10-10r11007: r10109@SERNOX: metze | 2005-09-09 12:29:12 +0200Stefan Metzmacher1-0/+109
- move structs to a seperate header file - move the code for the wreplsrv_in_call handling to a seperate file metze (This used to be commit c9a8544446312d96ecadcf370af76d9dc5b2531a)