summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc/kcc_service.h
Commit message (Collapse)AuthorAgeFilesLines
* dsdb: Rework kcc_deleted() into dsdb_garbage_collect_tombstones()Andrew Bartlett2016-09-011-12/+3
| | | | | | | | | | | This is so that in a future commit, we can wrap this in python and allow it to be called from outside the samba server processs. This requires that we rework the callers and internals to avoid reference to private data structures of the KCC service. Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* kcc: Move kcc/kcc_deleted.c into kcc/garbage_collect_tombstones.cAndrew Bartlett2016-09-011-0/+2
| | | | | | | This is in preperation for a python binding for this function Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
* s4-kcc: Remove also deleted objects that are not in the Deleted Object containerMatthieu Patou2011-12-231-0/+2
| | | | | | | | For the configuration container we do a full scan at every run of the kcc-delete service. For the base DN we introduce a new parameter that avoid the full scan to kick just when samba starts. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Add subreq and status to kcc_service structDave Craft2011-12-081-2/+9
| | | | | | | | The subreq and status fields in the kcc_service struct are added for execution management of the external samba_kcc python script. Signed-off-by: Andrew Tridgell <tridge@samba.org>
* Add intrasite code test switchDave Craft2011-07-141-0/+3
| | | | | | | | | | | | | | kcc_service struct gets a intrasite_code boolean that is filled in via parametric parameter kccsrv:intrasite = [true/false] in smb.conf. This will allow us to continue to utilize old simple KCC topology as continuing default while newer intra-site topology matures further. Signed-off-by: Andrew Tridgell <tridge@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Jul 14 00:19:12 CEST 2011 on sn-devel-104
* s4-kcc: added service->am_rodcAndrew Tridgell2010-09-231-0/+2
| | | | use a rodc flag on the service instead of calling samdb_rodc each time
* s4-kcc: squash a warningAndrew Tridgell2010-01-161-0/+2
|
* s4-kcc: added a preiodic task to remove deleted objectsAndrew Tridgell2010-01-021-0/+2
| | | | | we check for deleted objects in each partition every 10 minutes, using onelevel searches
* s4-kcc: add a very simple KCCAndrew Tridgell2009-09-111-0/+85
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 :-)