summaryrefslogtreecommitdiffstats
path: root/source3/param
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 /source3/param
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 'source3/param')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index deaba21ee2..13bd9b9ff0 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -913,6 +913,7 @@ static void init_globals(bool reinit_globals)
Globals.winbind_cache_time = 300; /* 5 minutes */
Globals.winbind_reconnect_delay = 30; /* 30 seconds */
+ Globals.winbind_request_timeout = 60; /* 60 seconds */
Globals.winbind_max_clients = 200;
Globals.winbind_enum_users = false;
Globals.winbind_enum_groups = false;