param: Rename variable used for lp_idmap_cache_time iIdmapCacheTime
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:04:09 +0000 (16:04 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:18:59 +0000 (16:18 -0800)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/param/param_functions.c
lib/param/param_table.c
source3/param/loadparm.c

index 77b15a5b8ae7eabd713a4436ef8d7ca104693460..beb5f3ddfaaae96541ad6c534f9ec82bbf683ea8 100644 (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)
index 32ab2557f65c6974c4ff0c986a4c898496b2e459..d3581808db98b74760c2e7fa20d6880b818b308a 100644 (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,
index 7156d47928d76f2ad32a5e513b8e6a499cb4791d..16c831126812b72fe4534c188bba544340cbc25b 100644 (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;