From eeb24afd78a6448e808aaf96dbd7d5abf51bbd40 Mon Sep 17 00:00:00 2001 From: Pierre Carrier Date: Tue, 14 Sep 2010 16:43:39 -0700 Subject: Allows changing the maximum number of simultaneous clients in winbindd through an smb.conf option. Signed-off-by: Jeremy Allison --- source3/include/local.h | 3 --- source3/include/proto.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/include') diff --git a/source3/include/local.h b/source3/include/local.h index a3baf64f9a..93ec4cc9db 100644 --- a/source3/include/local.h +++ b/source3/include/local.h @@ -239,9 +239,6 @@ /* Number in seconds for winbindd to wait for the mutex. Make this 2 * smbd wait time. */ #define WINBIND_SERVER_MUTEX_WAIT_TIME (( ((NUM_CLI_AUTH_CONNECT_RETRIES) * ((CLI_AUTH_TIMEOUT)/1000)) + 5)*2) -/* Max number of simultaneous winbindd socket connections. */ -#define WINBINDD_MAX_SIMULTANEOUS_CLIENTS 200 - /* Buffer size to use when printing backtraces */ #define BACKTRACE_STACK_SIZE 64 diff --git a/source3/include/proto.h b/source3/include/proto.h index f089c696f0..e1751e803f 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -3539,6 +3539,7 @@ int lp_smb_encrypt(int ); char lp_magicchar(const struct share_params *p ); int lp_winbind_cache_time(void); int lp_winbind_reconnect_delay(void); +int lp_winbind_max_clients(void); const char **lp_winbind_nss_info(void); int lp_algorithmic_rid_base(void); int lp_name_cache_timeout(void); -- cgit