diff options
author | Andrew Bartlett <abartlet@samba.org> | 2013-12-24 16:04:09 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-01-24 16:18:59 -0800 |
commit | c04e5bd8b01bc5bd65987f3a691cfcf019483e2a (patch) | |
tree | be306bf4b5e92454194187759e991333bc359385 | |
parent | 64c3eeee82fd22998f50d5e48f95cb16e41c39c0 (diff) | |
download | samba-c04e5bd8b01bc5bd65987f3a691cfcf019483e2a.tar.gz samba-c04e5bd8b01bc5bd65987f3a691cfcf019483e2a.tar.xz samba-c04e5bd8b01bc5bd65987f3a691cfcf019483e2a.zip |
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>
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 77b15a5b8a..beb5f3ddfa 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -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) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 32ab2557f6..d3581808db 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -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, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 7156d47928..16c8311268 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -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; |