summaryrefslogtreecommitdiff
path: root/source4/wrepl_server/wrepl_apply_records.c
AgeCommit message (Collapse)AuthorFilesLines
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_release_demand()Stefan Metzmacher1-16/+20
metze
2010-09-03s4:wrepl_server: use irpc_binding_handle_by_name() in r_do_challenge()Stefan Metzmacher1-41/+44
metze
2010-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-1/+1
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-02-01s4:wrepl_server: truncate the scope of a netbios name to 237 bytes as ↵Stefan Metzmacher1-0/+14
Windows 2008 does metze
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher1-6/+6
metze
2009-01-19wreplserver: add "wreplsrv:propagate name releases = yes" for replicated ↵Stefan Metzmacher1-0/+29
sgroup merges metze (from samba4wins tree 80cbe665e561182d28acc6ad474243b83f3e4d28)
2009-01-19wrepl_server: fix the record expire time of sgroup mergesStefan Metzmacher1-0/+18
if we're the owner, the expire time becomes the highest expire time of owned addresses metze (from samba4wins tree 024f439db45046c7c0bb4759c75877462405baec)
2009-01-19wrepl_server: use a local 'local_owner' variable to make the code more readableStefan Metzmacher1-1/+2
metze (from samba4wins tree eba9a8ce0641a2984112f4e1473801fa449ed96d)
2007-10-10r25549: Convert to standard bool type.Jelmer Vernooij1-56/+56
(This used to be commit 318bf1f7441678860adfff5cdb0d3d2448e58f4b)
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-10r22793: use a state struct for r_do_release_demand to avoid a memleak on errorsStefan Metzmacher1-12/+27
metze (This used to be commit a4111527315c2b193a5235c6d32e9f392066506f)
2007-10-10r22792: only don't free on successStefan Metzmacher1-2/+5
metze (This used to be commit 2259bc2cad3333d41a6972ad9659820f85906bba)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-3/+3
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-6/+6
uint32_t server_id to struct server_id server_id; which allows a server ID to have an node number. The node number will be zero in non-clustered case. This is the most basic hook needed for clustering, and ctdb. (This used to be commit 2365abaa991d57d68c6ebe9be608e01c907102eb)
2007-10-10r17784: fix compiler warningsStefan Metzmacher1-0/+4
metze (This used to be commit 8b806c4c5e4f25e011b545d742097b3b307e5af8)
2007-10-10r15148: make wreplsrv_pull_names staticStefan Metzmacher1-9/+10
metze (This used to be commit ce3d4ec0f67ecf7a403fb7d46ed5f6dc0b2bc275)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r13116: make sure we don't add more than 25 addresses to a record,Stefan Metzmacher1-20/+28
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-10r13059: stop playing ping-pong while replicating special group records,Stefan Metzmacher1-22/+16
if the addresses and their owners are idetical to the old record and we're the owner of the old record then we should just gnore the replica metze (This used to be commit e4f823ef038eeb74a8a6de05207f2f9aae7262a1)
2007-10-10r13051: this is correctStefan Metzmacher1-1/+0
metze (This used to be commit ccfc991ad90a44784fc4372cfc8eb22756a09a6f)
2007-10-10r13035: active,special group replicas are overwritten by tombstone,special ↵Stefan Metzmacher1-1/+19
group replicas metze (This used to be commit cf669e4b2a4dcfb080cbb01a108797acad802f36)
2007-10-10r12780: propagate local records, when replicas are rejected on conflictsStefan Metzmacher1-1/+55
metze (This used to be commit c64aef570eea8bde685aeb66cb482586e36ea020)
2007-10-10r12696: Reduce the size of include/structs.hJelmer Vernooij1-1/+0
(This used to be commit 63917616016133c623fc6ff59454bc313ee7dd8f)
2007-10-10r12618: use our primary interface address or the "winsdb:local_owner" -addressStefan Metzmacher1-2/+2
as winsOwner: attrbute for owned records metze (This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-7/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r12542: Move some more prototypes out to seperate headersJelmer Vernooij1-0/+1
(This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
2007-10-10r12078: fix the build on hosts with old compilersStefan Metzmacher1-1/+1
metze (This used to be commit 82fa27da0725b1d84688e26ca189b445c4a08f4e)
2007-10-10r12072: fix sgroup,active,owned vs. sgroup,non-active caseStefan Metzmacher1-5/+20
metze (This used to be commit 47ce4286dec3df9eb22ac2efde18af807ecf9cfa)
2007-10-10r12071: - implement MHOMED mergingStefan Metzmacher1-3/+198
- implement late release demands we now pass the full NBT-WINSREPLICATION torture test but only with non-socket_wrapper mode metze (This used to be commit bd78c97cfff7e2d3a053e4bb4d6459afad5fba5c)
2007-10-10r12023: use the NBTD IRPC proxy calls for implementing the challenge and ↵Stefan Metzmacher1-4/+115
release demand conflict cases metze (This used to be commit 9e84c85b3de178e0dd093ed9344d30d4c9ea6730)
2007-10-10r11967: Fix more 64-bit warnings.Tim Potter1-1/+2
(This used to be commit 9c4436a124f874ae240feaf590141d48c33a635f)
2007-10-10r11908: implement SGROUP merging, that passes the different owner testsStefan Metzmacher1-14/+222
(but only without socket_wrapper, I need to look at that later and then add the different_owner test to NBT-WINSREPLICATION-QUICK so that it'll be runned by make test) metze (This used to be commit 9ef33580345f12fafbab0a09644451c8b7600f7f)
2007-10-10r11881: fix debug messagesStefan Metzmacher1-14/+5
metze (This used to be commit 71293f41a7c1e281bde36e7b5ffbf6b3b108d626)
2007-10-10r11880: - we finally start to apply replicas to our databaseStefan Metzmacher1-47/+292
- currently only the ADD, REPLACE and NOT REPLACE cases are handled complete - other cases are just skiped for now metze (This used to be commit f889d110f5bcc0a19e110c63001e1aa4c18df870)
2007-10-10r11832: - some updates for the conflict resolving logicStefan Metzmacher1-35/+146
- use better function names metze (This used to be commit 35ab665957a0114e749e4045abdc2fb482867711)
2007-10-10r11331: add conflict cases owned,released vs. replicaStefan Metzmacher1-1/+146
metze (This used to be commit d3049936a574e35eb00f072a3c378db0b69170aa)
2007-10-10r11189: add some more special group vs. special group tests,Stefan Metzmacher1-2/+1
to make sure that replicas from the same owner are blinding overwritten in all cases metze (This used to be commit 466baf737aedf240ff372ab8e8c708299102d1fa)
2007-10-10r11188: - add multi homed vs. multi homed sectionStefan Metzmacher1-5/+6
metze (This used to be commit 838323e58fe4e748a17100c4cd13788059dd12c6)
2007-10-10r11186: - get rid of some .extra = True casesStefan Metzmacher1-2/+8
- add multihomed vs unique section - update conflict handling for the above case metze (This used to be commit c043e56efd3d72cdd5b17c78512e12285c87f221)
2007-10-10r11178: add some logic functions for the replica_vs_replica conflict handlingStefan Metzmacher1-0/+259
to our winsrepl server, but it handles only the simple cases (without merging) and we still didn't apply records to our wins.ldb, we just print out what we would do metze (This used to be commit e4edeeaa0a808c6bcdf022eec1257e796c1c0700)
2007-10-10r11048: r10539@SERNOX: metze | 2005-09-27 14:59:47 +0200Stefan Metzmacher1-0/+56
fix the build for changes from SAMBA_4_0 branch metze r10541@SERNOX: metze | 2005-09-27 15:05:33 +0200 use a transaction when we allocate a new version metze r10549@SERNOX: metze | 2005-09-27 18:58:37 +0200 - add first start of wins pull replication - we not yet apply records to our database but we fetch them correct form our partners (we need conflict handling for this) - we also need to filter out our own records! metze r10568@SERNOX: metze | 2005-09-28 11:33:04 +0200 move composite helpers to a seperate file, create a a seperate file for the conflict resolving logic metze r10571@SERNOX: metze | 2005-09-28 12:00:17 +0200 add forward declarations...to fix the build metze r10612@SERNOX: metze | 2005-09-29 16:11:06 +0200 we have a nbt_name now, and don't need to parse it metze r10614@SERNOX: metze | 2005-09-29 16:38:35 +0200 filter out our own records metze r10620@SERNOX: metze | 2005-09-29 18:07:08 +0200 - handle mutliple addresses in WREPL_REPL_SEND_REPLY - make strings always valid talloc pointers metze r10621@SERNOX: metze | 2005-09-29 18:09:41 +0200 use debug level 2 metze r10622@SERNOX: metze | 2005-09-29 18:48:05 +0200 - add one more debug message when we reply no record - fix min max logic metze r10623@SERNOX: metze | 2005-09-29 20:49:06 +0200 build fixes... metze r10629@SERNOX: metze | 2005-09-30 00:11:41 +0200 - use seperate attributes for type, state, nodetype, is_static ... the winserver.c code needs some more updates to correctly, create special group and multihomed registrations... metze r10640@SERNOX: metze | 2005-09-30 04:07:34 +0200 - add some short path for the composite helper functions they will be used in the next commit metze r10642@SERNOX: metze | 2005-09-30 06:29:06 +0200 fix the build metze r10655@SERNOX: metze | 2005-09-30 17:36:49 +0200 - implement the WREPL_REPL_UPDATE* and WREPL_REPL_INFORM* this includes the connection fliping into a client connection for WREPL_REPL_UPDATE* NOTE: I not yet found out how to get the w2k server to use INFORM against samba4 it uses inform against w2k and w2k3 but UPDATE against nt4 and samba4 what's left now is to be able to initiate INFORM and UPDATE requests to notify our pull partners metze r10727@SERNOX: metze | 2005-10-05 14:11:05 +0200 fix the build metze r10770@SERNOX: metze | 2005-10-06 16:56:01 +0200 - move the table filling to a seperate function, will be reused later - fix the build, wrepl_nbt_name fixes - remove state -> update_state metze r10771@SERNOX: metze | 2005-10-06 17:04:48 +0200 add a function to create a wreplsrv_in_connection from a client connection metze r10772@SERNOX: metze | 2005-10-06 17:13:51 +0200 - make the connection code more generic to handle the pull cached connection, push cached connection or given connections - when we don't use a cached connection, disconnection when a pull_cycle is done - fix the build and use the configured source ip metze r10773@SERNOX: metze | 2005-10-06 17:18:49 +0200 - add composite functions for push notification metze r10774@SERNOX: metze | 2005-10-06 17:23:46 +0200 - use periodic push notifycation, this is just for now as it needs to be configurable and and be triggered when the local database has changes since the last notify - I also need to work out how to decide if the partner supports persistent connections and WREPL_REPL_INFORM* messages metze r10923@SERNOX: metze | 2005-10-12 16:52:34 +0200 fix the build becuse of conflicts with main SAMBA_4_0 tree metze (This used to be commit 6d97dd6e50423758d081459ec551f4e04dfd818d)