summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:04:10 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:59 -0800
commitfcc0039a0159a8dd74d8e3d2922bcc3cef680979 (patch)
tree3d0d246a05dde890039a6f89f4113c8947cbc0a8
parentc04e5bd8b01bc5bd65987f3a691cfcf019483e2a (diff)
downloadsamba-fcc0039a0159a8dd74d8e3d2922bcc3cef680979.tar.gz
samba-fcc0039a0159a8dd74d8e3d2922bcc3cef680979.tar.xz
samba-fcc0039a0159a8dd74d8e3d2922bcc3cef680979.zip
param: Rename variable used for lp_idmap_negative_cache_time iIdmapNegativeCacheTime
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.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 beb5f3ddfa..516c077296 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -287,7 +287,7 @@ 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, idmap_cache_time)
-FN_GLOBAL_INTEGER(idmap_negative_cache_time, iIdmapNegativeCacheTime)
+FN_GLOBAL_INTEGER(idmap_negative_cache_time, idmap_negative_cache_time)
FN_GLOBAL_INTEGER(init_logon_delay, InitLogonDelay)
FN_GLOBAL_INTEGER(keepalive, iKeepalive)
FN_GLOBAL_INTEGER(kerberos_method, iKerberosMethod)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index d3581808db..33fab54dbd 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -3932,7 +3932,7 @@ static struct parm_struct parm_table[] = {
.label = "idmap negative cache time",
.type = P_INTEGER,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(iIdmapNegativeCacheTime),
+ .offset = GLOBAL_VAR(idmap_negative_cache_time),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 16c8311268..9dc655a680 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -991,7 +991,7 @@ static void init_globals(bool reinit_globals)
Globals.winbind_offline_logon = false;
Globals.idmap_cache_time = 86400 * 7; /* a week by default */
- Globals.iIdmapNegativeCacheTime = 120; /* 2 minutes by default */
+ Globals.idmap_negative_cache_time = 120; /* 2 minutes by default */
Globals.passdb_expand_explicit = false;