lib/param: add default for enable privileges parameter
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 21:14:22 +0000 (10:14 +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 b41e80d104229fe5a8cbcf4339d88ab95291beb0..2e852f4709a70f2a28026b204a942e404e9082e2 100644 (file)
@@ -2260,6 +2260,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "idmap backend", "tdb");
 
+       lpcfg_do_global_parameter(lp_ctx, "enable privileges", "True");
+
        for (i = 0; parm_table[i].label; i++) {
                if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) {
                        lp_ctx->flags[i] |= FLAG_DEFAULT;