1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

param: Rename variable used for lp_idmap_cache_time iIdmapCacheTime

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:04:09 +13:00
committed by Jeremy Allison
parent 64c3eeee82
commit c04e5bd8b0
3 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ FN_GLOBAL_INTEGER(cups_connection_timeout, cups_connection_timeout)
FN_GLOBAL_INTEGER(deadtime, deadtime)
FN_GLOBAL_INTEGER(dgram_port, dgram_port)
FN_GLOBAL_INTEGER(_domain_master, domain_master)
FN_GLOBAL_INTEGER(idmap_cache_time, iIdmapCacheTime)
FN_GLOBAL_INTEGER(idmap_cache_time, idmap_cache_time)
FN_GLOBAL_INTEGER(idmap_negative_cache_time, iIdmapNegativeCacheTime)
FN_GLOBAL_INTEGER(init_logon_delay, InitLogonDelay)
FN_GLOBAL_INTEGER(keepalive, iKeepalive)

View File

@ -3923,7 +3923,7 @@ static struct parm_struct parm_table[] = {
.label = "idmap cache time",
.type = P_INTEGER,
.p_class = P_GLOBAL,
.offset = GLOBAL_VAR(iIdmapCacheTime),
.offset = GLOBAL_VAR(idmap_cache_time),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,

View File

@ -990,7 +990,7 @@ static void init_globals(bool reinit_globals)
Globals.winbind_refresh_tickets = false;
Globals.winbind_offline_logon = false;
Globals.iIdmapCacheTime = 86400 * 7; /* a week by default */
Globals.idmap_cache_time = 86400 * 7; /* a week by default */
Globals.iIdmapNegativeCacheTime = 120; /* 2 minutes by default */
Globals.passdb_expand_explicit = false;