1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00

param: Rename variable used for lp_stat_cache bStatCache

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Andrew Bartlett 2013-12-24 16:03:54 +13:00 committed by Jeremy Allison
parent fb5ada6d08
commit 7c8e715d5b
3 changed files with 3 additions and 3 deletions

View File

@ -210,7 +210,7 @@ FN_GLOBAL_BOOL(reject_md5_servers, reject_md5_servers)
FN_GLOBAL_BOOL(require_strong_key, require_strong_key)
FN_GLOBAL_BOOL(reset_on_zero_vc, reset_on_zero_vc)
FN_GLOBAL_BOOL(rpc_big_endian, rpc_big_endian)
FN_GLOBAL_BOOL(stat_cache, bStatCache)
FN_GLOBAL_BOOL(stat_cache, stat_cache)
FN_GLOBAL_BOOL(syslog_only, bSyslogOnly)
FN_GLOBAL_BOOL(timestamp_logs, bTimestampLogs)
FN_GLOBAL_BOOL(time_server, bTimeServer)

View File

@ -2550,7 +2550,7 @@ static struct parm_struct parm_table[] = {
.label = "stat cache",
.type = P_BOOL,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(bStatCache),
.offset = GLOBAL_VAR(stat_cache),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -871,7 +871,7 @@ static void init_globals(bool reinit_globals)
Globals.iPasswdChatTimeout = 2; /* 2 second default. */
Globals.nt_pipe_support = true; /* Do NT pipes by default. */
Globals.nt_status_support = true; /* Use NT status by default. */
Globals.bStatCache = true; /* use stat cache by default */
Globals.stat_cache = true; /* use stat cache by default */
Globals.iMaxStatCacheSize = 256; /* 256k by default */
Globals.restrict_anonymous = 0;
Globals.client_lanman_auth = false; /* Do NOT use the LanMan hash if it is available */