summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc
AgeCommit message (Collapse)AuthorFilesLines
2010-02-15s4-kcc: remove C++ commentAndrew Tridgell1-1/+1
2010-02-15s4-kcc: initial code for the topology algorithmCrístian Deives1-0/+614
this patch contains the data structures declarations and the functions to setup the graph. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-18idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell1-3/+3
The documentation shows that all these functions in fact use the same flags variable type. To be consistent between functions, and to allow easy reference to the WSPP docs, it is better for us to also use this generic DrsOptions bitfield rather than one per operations.
2010-01-16s4-kcc: added DsReplicaGetInfo pending ops callAndrew Tridgell1-1/+30
Just return 0 pending ops for now
2010-01-16s4-kcc: added DsReplicaGetInfo CURSORS2 levelAndrew Tridgell1-0/+29
2010-01-16s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell1-2/+2
2010-01-16s4-kcc: added support for CURSORS info level in DsReplicaGetInfoAndrew Tridgell1-3/+34
2010-01-16s4-kcc: simplify the ReplicaGetInfo implementation a bitAndrew Tridgell1-53/+17
2010-01-16s4-kcc: squash a warningAndrew Tridgell1-0/+2
2010-01-16s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS ↵Andrew Tridgell2-2/+504
infoType. This patch includes the framework for the implementation of all infoTypes of the DsGetReplInfo() call, and includes the implementation for the first one, the DS_REPL_INFO_NEIGHBORS. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-01-02s4-kcc: added a preiodic task to remove deleted objectsAndrew Tridgell3-4/+103
we check for deleted objects in each partition every 10 minutes, using onelevel searches
2010-01-02s4-dsdb: added dsdb_tombstone_lifetime()Andrew Tridgell1-0/+64
2009-12-21s4-kcc: don't crash with a NULL ntds connection listAndrew Tridgell1-3/+3
2009-11-30s4-drs: add deletion of old connectionsCrístian Deives3-37/+190
the nTDSConnection objects that are not needed anymore will be deleted. the function kccsrv_delete_connection wasn't tested yet. Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-30s4-drs: Create connection obejct (nTDSConnection)Crístian Deives2-0/+129
create nTDSConnection objects to match the list of servers Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-11-14s4-drs: DsExecuteKCC() implementationErick Nascimento2-1/+21
I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc(). Signed-off-by: Andrew Tridgell <tridge@samba.org>
2009-10-25s4-samdb: reduce the number of samdb opens at startupAndrew Tridgell1-6/+3
Using common parameters means that the ldb_wrap code can return a reference rather than a new database
2009-10-14s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer1-1/+1
For KERBEROS applications the realm should be upcase (function "lp_realm") but for DNS ones it should be used lowcase (function "lp_dnsdomain"). This patch implements the use of both in the right way.
2009-09-28s4-kcc: fixed corruption of repsFrom records by kccAndrew Tridgell1-4/+2
We were re-using a stack variable outside of the stack scope
2009-09-28s4-kcc: remove stale repsFrom entries in kcc runAndrew Tridgell1-0/+11
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2-10/+11
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-09-12s4-kcc: we should only add to the repsFrom if it doesn't already existAndrew Tridgell1-45/+71
If we already have a repsFrom for a particular DC and naming context then we should not overwrite it, as it contains info on what replication we've already done
2009-09-11s4-kcc: add a very simple KCCAndrew Tridgell3-0/+515
A KCC is a 'Knowledge Consistency Checker', a fancy name for a daemon that works out who will replicate with who in a AD domain. This implements an extremely simple KCC task that just wants to replicate with everyone :-)