summaryrefslogtreecommitdiff
path: root/source4/wrepl_server/wrepl_server.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r11547: - don't do pull replication when pullIntervall is 0Stefan Metzmacher1-7/+10
- don't do push replication when pushChangeCount is 0 metze (This used to be commit 4122e9ec3a4394738fa3c261dc92938ea86c3822)
2007-10-10r11089: start the winsreplication task when we run with wins support = yesStefan Metzmacher1-0/+4
metze (This used to be commit d49a1d2b15c7d17a5d6928a971fbe87d13686c2d)
2007-10-10r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher1-4/+73
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10r11043: r10362@SERNOX: metze | 2005-09-20 22:37:28 +0200Stefan Metzmacher1-0/+3
repare for pull replication support metze (This used to be commit a75402c45f5bcd3b199ad30af06ee34161c5560b)
2007-10-10r11040: r10357@SERNOX: metze | 2005-09-20 21:28:11 +0200Stefan Metzmacher1-3/+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-10r11039: r10352@SERNOX: metze | 2005-09-20 16:50:04 +0200Stefan Metzmacher1-297/+11
move stuff the belong to incoming connections only into a seperate file wrepl_in_connection.c metze (This used to be commit c2b2b582203d9fe2596ebc9cf2600d52e6f61831)
2007-10-10r11035: r10347@SERNOX: metze | 2005-09-20 13:40:24 +0200Stefan Metzmacher1-1/+1
make wreplsrv_find_owner public metze (This used to be commit 6fa37c0a2bc1d2f0d29c69d8448276c1f1791a45)
2007-10-10r11032: r10342@SERNOX: metze | 2005-09-20 11:00:26 +0200Stefan Metzmacher1-3/+216
- load our wins partners at start time: # this is a sample partner record: dn: name=SERNOX4-1,CN=PARTNERS objectClass: wreplPartner name: SERNOX4-9 address: 172.31.1.1 ourAddress: 172.31.9.1 type: 0x3 pullInterval: 3600 - go through all winsdb records in the database and create the wins_owner table, but don't add ourself to it as out nbt task will update the db too, we refetch the local max_versiion, each time we need it, (that typicaly onces per replication cycle) metze (This used to be commit 4490a2864e21f957547c30675e5f096a4409e5fb)
2007-10-10r11023: r10310@SERNOX: metze | 2005-09-19 11:21:39 +0200Stefan Metzmacher1-5/+36
- open the winsdb in the wrepl server - add dummy function for setup the replication partners metze (This used to be commit da3d18e4545da3bd1841ffc31f253e533f7ea016)
2007-10-10r11014: r10139@SERNOX: metze | 2005-09-10 10:32:36 +0200Stefan Metzmacher1-3/+20
- 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-155/+2
- 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)
2007-10-10r11004: r10083@SERNOX: metze | 2005-09-08 16:50:32 +0200Stefan Metzmacher1-0/+499
This is the start of a WINS-Replicaton server: The design is to handle incoming and outgoing connections, in one process, because it make thing much easier, and there's no need to it otherwise. The current code only parses incoming packets, and can reply to them, but currently only a standard error packets STOP_ASSOCIATON with reason == 4 (I think it means your are not configured as a wins partner of me) (the server service is called "wrepl") metze (This used to be commit 55a2016ba379d035cd559fb55a280e2ee9f15178)