summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/param/param_functions.c2
-rw-r--r--lib/param/param_table.c2
-rw-r--r--source3/param/loadparm.c2
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;