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 514b140f83..190108b2cc 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -243,7 +243,7 @@ FN_GLOBAL_CONST_STRING(dedicated_keytab_file, dedicated_keytab_file)
FN_GLOBAL_CONST_STRING(dnsdomain, dnsdomain)
FN_GLOBAL_CONST_STRING(dns_forwarder, dns_forwarder)
FN_GLOBAL_CONST_STRING(dos_charset, dos_charset)
-FN_GLOBAL_CONST_STRING(guestaccount, szGuestaccount)
+FN_GLOBAL_CONST_STRING(guestaccount, guestaccount)
FN_GLOBAL_CONST_STRING(lockdir, szLockDir)
FN_GLOBAL_CONST_STRING(logon_drive, szLogonDrive)
FN_GLOBAL_CONST_STRING(logon_home, szLogonHome)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 5150483a28..591a43da36 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -583,7 +583,7 @@ static struct parm_struct parm_table[] = {
.label = "guest account",
.type = P_STRING,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(szGuestaccount),
+ .offset = GLOBAL_VAR(guestaccount),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_BASIC | FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 1db0efc4aa..5a50fac903 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -757,7 +757,7 @@ static void init_globals(bool reinit_globals)
string_set(&Globals.szManglingMethod, "hash2");
Globals.mangle_prefix = 1;
- string_set(&Globals.szGuestaccount, GUEST_ACCOUNT);
+ string_set(&Globals.guestaccount, GUEST_ACCOUNT);
/* using UTF8 by default allows us to support all chars */
string_set(&Globals.unix_charset, DEFAULT_UNIX_CHARSET);