lib/param: add default for ldap replication sleep
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 21:10:43 +0000 (10:10 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2014 04:26:42 +0000 (17:26 +1300)
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
lib/param/loadparm.c

index b3c2f54b9ac249ae27a00a34143941d289afd0df..e7eb1a850acde9533f15324119f5e480685a6505 100644 (file)
@@ -2256,6 +2256,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "defer sharing violations", "True");
 
+       lpcfg_do_global_parameter(lp_ctx, "ldap replication sleep", "1000");
+
        for (i = 0; parm_table[i].label; i++) {
                if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) {
                        lp_ctx->flags[i] |= FLAG_DEFAULT;