summaryrefslogtreecommitdiffstats
path: root/source4/wrepl_server/wrepl_scavenging.c
Commit message (Collapse)AuthorAgeFilesLines
* s4-messaging Rename messaging -> imessagingAndrew Bartlett2011-05-031-1/+1
| | | | | | | This avoid symbol and structure conflicts between Samba3 and Samba4, and chooses a less generic name. Andrew Bartlett
* ldb: use #include <ldb.h> for ldbAndrew Tridgell2011-02-101-2/+2
| | | | | | | | thi ensures we are using the header corresponding to the version of ldb we're linking against. Otherwise we could use the system ldb for link and the in-tree one for include Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:wrepl_server: use irpc_binding_handle_by_name() in ↵Stefan Metzmacher2010-09-031-18/+23
| | | | | | wreplsrv_scavenging_replica_active_records() metze
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-161-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>
* s4:wrepl_server - change also here the counter variables to "unsigned"Matthias Dieter Wallnöfer2010-03-051-3/+3
| | | | | I changed also some "uint32_t" to "unsigned" since the LDB interface doesn't specify the bitlength of the unsigned type.
* s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher2009-02-011-2/+2
| | | | metze
* winsserver: add "wreplsrv:propagate name releases" optionStefan Metzmacher2009-01-191-6/+40
| | | | | | | | | | | Add an option to propagate name releases directly. This make the results for #1C name queries more consistent among all servers. It's off by default to match windows. metze (from samba4wins tree 166e9fdffb9f4e26513c3b4ec1f6f168ecbe18f8)
* wrepl_scavenging: add a comment to make the is_static case more clearStefan Metzmacher2009-01-191-5/+13
| | | | | metze (from samba4wins tree 67fa7dc4fe36b143d36df1309840328a14683e31)
* wreplsrv: don't log scavenging events at level 0Stefan Metzmacher2009-01-191-7/+7
| | | | | metze (from samba4wins tree 7a1d4fac9d77440c2c463bfdb2a5671e4817cfdf)
* Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce2008-09-231-6/+3
| | | | | The previous ldb_search() interface made it way too easy to leak results, and being able to use a printf-like expression turns to be really useful.
* r25549: Convert to standard bool type.Jelmer Vernooij2007-10-101-33/+33
| | | | (This used to be commit 318bf1f7441678860adfff5cdb0d3d2448e58f4b)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-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)
* r22752: bail out on talloc failureStefan Metzmacher2007-10-101-0/+3
| | | | | metze (This used to be commit da92bf88e55739daefd2a0c595e0fa61819fa348)
* r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher2007-10-101-1/+1
| | | | | | | irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
* r20646: first preparations for cluster enablement. This changes "Andrew Tridgell2007-10-101-2/+2
| | | | | | | | | | | 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)
* r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell2007-10-101-5/+6
| | | | | | | | | emacs compile mode (hint, paste to a file, and compile as "cat filename"). This allowed me to fix nearly all the warnings for a IA_64 SuSE build very quickly. (This used to be commit eba6c84efff735bb0ca941ac4b755ce2b0591667)
* r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij2007-10-101-0/+1
| | | | | try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
* r13088: - handle non-active static entriesStefan Metzmacher2007-10-101-57/+57
| | | | | | | | | | | - improve verifiying a replica with a remote wins server we now take the ownership of replica records that doesn't match the answer from the wins owner and make the record tombstone. this hopefully causes the original wins owner to propagate its new record, so that it will be replicated back to us metze (This used to be commit 49199477f225f3d22b3c70bb4626b92ed096f310)
* r13080: fix crash bugStefan Metzmacher2007-10-101-1/+1
| | | | | metze (This used to be commit 0372438000dec9640a2888d44c3114c18ec625ab)
* r13060: - return only active addresses in name query responsesStefan Metzmacher2007-10-101-3/+15
| | | | | | | - replicate only active addresses metze (This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
* r12784: implement a simplified version of verifying old active replicas, ↵Stefan Metzmacher2007-10-101-32/+124
| | | | | | | | | | | | with the owner server, we you nbt name queries for this.... I assume w2k3 uses DCERPC calls or some WINSREPL calls for this, but our version should work till I find out more details... metze (This used to be commit ff81f9e78043d29feb4832acee682ec93a9c8ed6)
* r12775: free elements early...Stefan Metzmacher2007-10-101-0/+3
| | | | | metze (This used to be commit 49f78e21fe4a293fdb4d9d49d16dbed3ef8137b1)
* r12701: the first scavenging run should happen after half of the renew_interval,Stefan Metzmacher2007-10-101-0/+13
| | | | | | | and not on startup metze (This used to be commit fd234ebbac30a10083e2898eb291d8a4fef7198f)
* r12679: create a sperate function to create the 'winsOwner' part of the ↵Stefan Metzmacher2007-10-101-6/+34
| | | | | | | | | 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)
* r12618: use our primary interface address or the "winsdb:local_owner" -addressStefan Metzmacher2007-10-101-6/+6
| | | | | | | as winsOwner: attrbute for owned records metze (This used to be commit 37dece8304c0b9887740f4d4e8096732045a1785)
* r12617: create a winsdb_handle and pass that arround,Stefan Metzmacher2007-10-101-3/+3
| | | | | | | so we later can hang the local owner address, on this handle too metze (This used to be commit 49ba4cc11144671cafcbe2967954bfd786ea6e76)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-10/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12542: Move some more prototypes out to seperate headersJelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 0aca5fd5130d980d07398f3291d294202aefe3c2)
* r12434: implement database scavenging, the only missing part is the ↵Stefan Metzmacher2007-10-101-0/+383
verifying of active replicas with the owning wins server, after the verify interval passes. metze (This used to be commit 7d1f7ae9c65c09f8bf72e159b771f231f96e8591)