summaryrefslogtreecommitdiff
path: root/source4/wrepl_server/wrepl_scavenging.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher1-2/+2
metze
2009-01-19winsserver: add "wreplsrv:propagate name releases" optionStefan Metzmacher1-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)
2009-01-19wrepl_scavenging: add a comment to make the is_static case more clearStefan Metzmacher1-5/+13
metze (from samba4wins tree 67fa7dc4fe36b143d36df1309840328a14683e31)
2009-01-19wreplsrv: don't log scavenging events at level 0Stefan Metzmacher1-7/+7
metze (from samba4wins tree 7a1d4fac9d77440c2c463bfdb2a5671e4817cfdf)
2008-09-23Merge ldb_search() and ldb_search_exp_fmt() into a simgle function.Simo Sorce1-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.
2007-10-10r25549: Convert to standard bool type.Jelmer Vernooij1-33/+33
(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-10r22752: bail out on talloc failureStefan Metzmacher1-0/+3
metze (This used to be commit da92bf88e55739daefd2a0c595e0fa61819fa348)
2007-10-10r22748: fix memleaks by passing an mem_ctx toStefan Metzmacher1-1/+1
irpc_servers_byname() metze (This used to be commit b54584dfabee77ec7743cab431bda9765057a295)
2007-10-10r20646: first preparations for cluster enablement. This changes "Andrew Tridgell1-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)
2007-10-10r18301: I discovered how to load the warnings from a build farm build intoAndrew Tridgell1-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)
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-10r13088: - handle non-active static entriesStefan Metzmacher1-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)
2007-10-10r13080: fix crash bugStefan Metzmacher1-1/+1
metze (This used to be commit 0372438000dec9640a2888d44c3114c18ec625ab)
2007-10-10r13060: - return only active addresses in name query responsesStefan Metzmacher1-3/+15
- replicate only active addresses metze (This used to be commit 6325abd95c5df855e8d1de2be9745940a29ba00a)
2007-10-10r12784: implement a simplified version of verifying old active replicas, ↵Stefan Metzmacher1-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)
2007-10-10r12775: free elements early...Stefan Metzmacher1-0/+3
metze (This used to be commit 49f78e21fe4a293fdb4d9d49d16dbed3ef8137b1)
2007-10-10r12701: the first scavenging run should happen after half of the renew_interval,Stefan Metzmacher1-0/+13
and not on startup metze (This used to be commit fd234ebbac30a10083e2898eb291d8a4fef7198f)
2007-10-10r12679: create a sperate function to create the 'winsOwner' part of the ↵Stefan Metzmacher1-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)
2007-10-10r12618: use our primary interface address or the "winsdb:local_owner" -addressStefan Metzmacher1-6/+6
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-3/+3
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-10/+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-10r12434: implement database scavenging, the only missing part is the ↵Stefan Metzmacher1-0/+383
verifying of active replicas with the owning wins server, after the verify interval passes. metze (This used to be commit 7d1f7ae9c65c09f8bf72e159b771f231f96e8591)