diff options
| author | Jeremy Allison <jra@samba.org> | 2014-07-25 12:44:53 -0700 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-07-29 21:08:12 +0200 |
| commit | 2535803627687f390cae6a95e88f70ff4d6cc67a (patch) | |
| tree | c1bcc0d39fb379ca28f100effab04ce42631b7a3 /lib/param | |
| parent | 6d104182d9667e4f996439d24cfa052f34098ce4 (diff) | |
| download | samba-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')
| -rw-r--r-- | lib/param/loadparm.c | 2 | ||||
| -rw-r--r-- | lib/param/param_table.c | 9 |
2 files changed, 11 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"); 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, |
