lib/param: add default algorithmic rid base
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 04:33:56 +0000 (17:33 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2014 04:26:41 +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 fa2fc1f0f2e41ae2d2df4253ed8c4678e35fb3c9..0787466438f4fbfefc97c1a1f92e357f1060249d 100644 (file)
@@ -2230,6 +2230,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
         lpcfg_do_global_parameter(lp_ctx, "allow dns updates", "secure only");
         lpcfg_do_global_parameter(lp_ctx, "dns forwarder", "");
 
+       lpcfg_do_global_parameter(lp_ctx, "algorithmic rid base", "1000");
+
        for (i = 0; parm_table[i].label; i++) {
                if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) {
                        lp_ctx->flags[i] |= FLAG_DEFAULT;