summaryrefslogtreecommitdiffstats
path: root/lib/param/loadparm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2014-07-25 12:44:53 -0700
committerJeremy Allison <jra@samba.org>2014-07-29 21:08:12 +0200
commit2535803627687f390cae6a95e88f70ff4d6cc67a (patch)
treec1bcc0d39fb379ca28f100effab04ce42631b7a3 /lib/param/loadparm.c
parent6d104182d9667e4f996439d24cfa052f34098ce4 (diff)
downloadsamba-2535803627687f390cae6a95e88f70ff4d6cc67a.tar.gz
samba-2535803627687f390cae6a95e88f70ff4d6cc67a.tar.xz
samba-2535803627687f390cae6a95e88f70ff4d6cc67a.zip
s3: winbindd: Add new parameter "winbind request timeout" set to 60 seconds with man page.
"This parameter specifies the number of seconds the winbindd daemon will wait before disconnecting either a client connection with no outstanding requests (idle) or a client connection with a request that has remained outstanding (hung) for longer than this number of seconds." Bug 3204 winbindd: Exceeding 200 client connections, no idle connection found https://bugzilla.samba.org/show_bug.cgi?id=3204 Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
Diffstat (limited to 'lib/param/loadparm.c')
-rw-r--r--lib/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index b58a058f18..bc96dc3fb9 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2509,6 +2509,8 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lpcfg_do_global_parameter(lp_ctx, "winbind reconnect delay", "30");
+ lpcfg_do_global_parameter(lp_ctx, "winbind request timeout", "60");
+
lpcfg_do_global_parameter(lp_ctx, "nt acl support", "yes");
lpcfg_do_global_parameter(lp_ctx, "acl check permissions", "yes");