summaryrefslogtreecommitdiffstats
path: root/source4/dsdb/kcc
Commit message (Collapse)AuthorAgeFilesLines
* idl: switched to using the WSPP names for the 'neighbour' DRS optionsAndrew Tridgell2010-01-181-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.
* s4-kcc: added DsReplicaGetInfo pending ops callAndrew Tridgell2010-01-161-1/+30
| | | | Just return 0 pending ops for now
* s4-kcc: added DsReplicaGetInfo CURSORS2 levelAndrew Tridgell2010-01-161-0/+29
|
* s4-idl: in DsReplicaGetInfo unknown2 is actually an enumeration_contextAndrew Tridgell2010-01-161-2/+2
|
* s4-kcc: added support for CURSORS info level in DsReplicaGetInfoAndrew Tridgell2010-01-161-3/+34
|
* s4-kcc: simplify the ReplicaGetInfo implementation a bitAndrew Tridgell2010-01-161-53/+17
|
* s4-kcc: squash a warningAndrew Tridgell2010-01-161-0/+2
|
* s4-drs: framework for DsGetReplInfo(), includes the DS_REPL_INFO_NEIGHBORS ↵Andrew Tridgell2010-01-162-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>
* s4-kcc: added a preiodic task to remove deleted objectsAndrew Tridgell2010-01-023-4/+103
| | | | | we check for deleted objects in each partition every 10 minutes, using onelevel searches
* s4-dsdb: added dsdb_tombstone_lifetime()Andrew Tridgell2010-01-021-0/+64
|
* s4-kcc: don't crash with a NULL ntds connection listAndrew Tridgell2009-12-211-3/+3
|
* s4-drs: add deletion of old connectionsCrístian Deives2009-11-303-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>
* s4-drs: Create connection obejct (nTDSConnection)Crístian Deives2009-11-302-0/+129
| | | | | | create nTDSConnection objects to match the list of servers Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-drs: DsExecuteKCC() implementationErick Nascimento2009-11-142-1/+21
| | | | | | I implemented the DsExecuteKCC() handling code on kccsrv_execute_kcc(). Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s4-samdb: reduce the number of samdb opens at startupAndrew Tridgell2009-10-251-6/+3
| | | | | Using common parameters means that the ldb_wrap code can return a reference rather than a new database
* s4: Changes the old occurences of "lp_realm" in "lp_dnsdomain" where neededMatthias Dieter Wallnöfer2009-10-141-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.
* s4-kcc: fixed corruption of repsFrom records by kccAndrew Tridgell2009-09-281-4/+2
| | | | We were re-using a stack variable outside of the stack scope
* s4-kcc: remove stale repsFrom entries in kcc runAndrew Tridgell2009-09-281-0/+11
|
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-182-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.
* s4-kcc: we should only add to the repsFrom if it doesn't already existAndrew Tridgell2009-09-121-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
* s4-kcc: add a very simple KCCAndrew Tridgell2009-09-113-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 :-)