lib/param: add default for lm interval
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 21:41:21 +0000 (10:41 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2014 04:26:43 +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 727e4827f6072c50f6de9c862ab7186d3418b34d..23b4973fdae7c6ef4d7458a6c3db81f8e8658cb8 100644 (file)
@@ -2278,6 +2278,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "ldap deref", "auto");
 
+       lpcfg_do_global_parameter(lp_ctx, "lm interval", "60");
+
        for (i = 0; parm_table[i].label; i++) {
                if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) {
                        lp_ctx->flags[i] |= FLAG_DEFAULT;