lib/param: add default for security parameter
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 21:00:31 +0000 (10:00 +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 e3fbb512b8092cfd9bf478b61db4c6a52b459747..a95c3f6126946e026129c4f0afae51e827830051 100644 (file)
@@ -2244,6 +2244,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "cups connection timeout", "30");
 
+       lpcfg_do_global_parameter(lp_ctx, "locking", "True");
+
        for (i = 0; parm_table[i].label; i++) {
                if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) {
                        lp_ctx->flags[i] |= FLAG_DEFAULT;