summaryrefslogtreecommitdiff
path: root/source4/dsdb/kcc/kcc_periodic.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2009-12-30 21:40:17 +1100
committerAndrew Tridgell <tridge@samba.org>2010-01-02 08:16:56 +1100
commitcced56736431094db14d07cfe04fd7606541c339 (patch)
tree35ac9340ec678eeb5b8339ffe7ddbb63e07bd89e /source4/dsdb/kcc/kcc_periodic.c
parent08bad380351e9753adc4330beb06dd2929113cfc (diff)
downloadsamba-cced56736431094db14d07cfe04fd7606541c339.tar.gz
samba-cced56736431094db14d07cfe04fd7606541c339.tar.bz2
samba-cced56736431094db14d07cfe04fd7606541c339.zip
s4-kcc: added a preiodic task to remove deleted objects
we check for deleted objects in each partition every 10 minutes, using onelevel searches
Diffstat (limited to 'source4/dsdb/kcc/kcc_periodic.c')
-rw-r--r--source4/dsdb/kcc/kcc_periodic.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/dsdb/kcc/kcc_periodic.c b/source4/dsdb/kcc/kcc_periodic.c
index d24e5e90a5..3b0d8a0551 100644
--- a/source4/dsdb/kcc/kcc_periodic.c
+++ b/source4/dsdb/kcc/kcc_periodic.c
@@ -257,5 +257,10 @@ static void kccsrv_periodic_run(struct kccsrv_service *service)
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("kccsrv_simple_update failed - %s\n", nt_errstr(status)));
}
+
+ status = kccsrv_check_deleted(service, mem_ctx);
+ if (!NT_STATUS_IS_OK(status)) {
+ DEBUG(0,("kccsrv_check_deleted failed - %s\n", nt_errstr(status)));
+ }
talloc_free(mem_ctx);
}