param: Rename variable used for lp_algorithmic_rid_base AlgorithmicRidBase
authorAndrew Bartlett <abartlet@samba.org>
Tue, 24 Dec 2013 03:04:06 +0000 (16:04 +1300)
committerJeremy Allison <jra@samba.org>
Sat, 25 Jan 2014 00:18:58 +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 7b4170abefb9bc23761ea84eaf538cafbe82f2cf..abf5fb9ceed2731a363e94028e4b876962e351f1 100644 (file)
@@ -271,7 +271,7 @@ FN_GLOBAL_CONST_STRING(winbind_separator, winbind_separator)
 FN_GLOBAL_CONST_STRING(workgroup, workgroup)
 FN_GLOBAL_CONST_STRING(wtmpdir, wtmpdir)
 FN_GLOBAL_INTEGER(afs_token_lifetime, afs_token_lifetime)
-FN_GLOBAL_INTEGER(algorithmic_rid_base, AlgorithmicRidBase)
+FN_GLOBAL_INTEGER(algorithmic_rid_base, algorithmic_rid_base)
 FN_GLOBAL_INTEGER(allow_dns_updates, allow_dns_updates)
 FN_GLOBAL_INTEGER(cldap_port, cldap_port)
 FN_GLOBAL_INTEGER(client_ldap_sasl_wrapping, client_ldap_sasl_wrapping)
index 41f8e3a819d0f4330a4866d22dcda12283d72d85..bfd31290a2c711f345caf91237f43bf54e6565d8 100644 (file)
@@ -547,7 +547,7 @@ static struct parm_struct parm_table[] = {
                .label          = "algorithmic rid base",
                .type           = P_INTEGER,
                .p_class        = P_GLOBAL,
-               .offset         = GLOBAL_VAR(AlgorithmicRidBase),
+               .offset         = GLOBAL_VAR(algorithmic_rid_base),
                .special        = NULL,
                .enum_list      = NULL,
                .flags          = FLAG_ADVANCED,
index 1f85e26bdcac76914fdfbab3ab659119262356ad..6613484ffcf030c354615285afd688f589da7840 100644 (file)
@@ -803,7 +803,7 @@ static void init_globals(bool reinit_globals)
        Globals.szNameResolveOrder = (const char **)str_list_make_v3(NULL, "lmhosts wins host bcast", NULL);
        string_set(&Globals.passwordserver, "*");
 
-       Globals.AlgorithmicRidBase = BASE_RID;
+       Globals.algorithmic_rid_base = BASE_RID;
 
        Globals.load_printers = true;
        Globals.PrintcapCacheTime = 750;        /* 12.5 minutes */