lib/param: add default for password chat timeout
authorGarming Sam <garming@catalyst.net.nz>
Tue, 7 Jan 2014 21:50:02 +0000 (10:50 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 28 Jan 2014 04:26:44 +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 0a21c8c1bcf4114ba679edc8350b495fcb9dd72f..6d49b5c03511c352d58a629f9eba0ce86a7d8157 100644 (file)
@@ -2286,6 +2286,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
 
        lpcfg_do_global_parameter(lp_ctx, "browse list", "True");
 
+       lpcfg_do_global_parameter(lp_ctx, "passwd chat timeout", "2");
+
        for (i = 0; parm_table[i].label; i++) {
                if (!(lp_ctx->flags[i] & FLAG_CMDLINE)) {
                        lp_ctx->flags[i] |= FLAG_DEFAULT;