wip debug kcc python
authorMatthieu Patou <mat@matws.net>
Wed, 25 Sep 2013 23:40:18 +0000 (16:40 -0700)
committerMatthieu Patou <mat@matws.net>
Fri, 3 Oct 2014 19:22:59 +0000 (12:22 -0700)
source4/dsdb/kcc/kcc_periodic.c
source4/dsdb/kcc/kcc_service.c

index 0e84e422d5fe4b6ec3782002898e963cfa264e4f..b07be98099994879be89de063e272c1de539fb68 100644 (file)
@@ -665,7 +665,7 @@ NTSTATUS kccsrv_samba_kcc(struct kccsrv_service *service,
        service->periodic.subreq = samba_runcmd_send(service,
                                        service->task->event_ctx,
                                        timeval_current_ofs(40, 0),
-                                       2, 0, samba_kcc_command, NULL);
+                                       0, 0, samba_kcc_command, NULL );
 
         if (service->periodic.subreq == NULL) {
                status = NT_STATUS_NO_MEMORY;
index 8b35d6f01a52a470de289da743101d26573a1c93..6f96d2ef9b6d6dce1a00beccf3b04fdbddc758a1 100644 (file)
@@ -226,10 +226,10 @@ static void kccsrv_task_init(struct task_server *task)
 
        periodic_startup_interval =
                lpcfg_parm_int(task->lp_ctx, NULL, "kccsrv",
-                             "periodic_startup_interval", 15); /* in seconds */
+                             "periodic_startup_interval", 1); /* in seconds */
        service->periodic.interval =
                lpcfg_parm_int(task->lp_ctx, NULL, "kccsrv",
-                             "periodic_interval", 300); /* in seconds */
+                             "periodic_interval", 10); /* in seconds */
 
        /* (kccsrv:samba_kcc=true) will run newer samba_kcc replication
         * topology generation code.