summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.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/param_table.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/param_table.c')
-rw-r--r--lib/param/param_table.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 79b948980a..d3f60c3818 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -4038,6 +4038,15 @@ struct parm_struct parm_table[] = {
.flags = FLAG_ADVANCED,
},
{
+ .label = "winbind request timeout",
+ .type = P_INTEGER,
+ .p_class = P_GLOBAL,
+ .offset = GLOBAL_VAR(winbind_request_timeout),
+ .special = NULL,
+ .enum_list = NULL,
+ .flags = FLAG_ADVANCED,
+ },
+ {
.label = "winbind max clients",
.type = P_INTEGER,
.p_class = P_GLOBAL,