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 41ba70cfa9..2434ee23a2 100644
--- a/lib/param/param_functions.c
+++ b/lib/param/param_functions.c
@@ -245,7 +245,7 @@ FN_GLOBAL_CONST_STRING(dns_forwarder, dns_forwarder)
FN_GLOBAL_CONST_STRING(dos_charset, dos_charset)
FN_GLOBAL_CONST_STRING(guestaccount, guestaccount)
FN_GLOBAL_CONST_STRING(lockdir, lockdir)
-FN_GLOBAL_CONST_STRING(logon_drive, szLogonDrive)
+FN_GLOBAL_CONST_STRING(logon_drive, logon_drive)
FN_GLOBAL_CONST_STRING(logon_home, szLogonHome)
FN_GLOBAL_CONST_STRING(logon_path, szLogonPath)
FN_GLOBAL_CONST_STRING(logon_script, szLogonScript)
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index f0b309602a..69a5f40bb5 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -2728,7 +2728,7 @@ static struct parm_struct parm_table[] = {
.label = "logon drive",
.type = P_STRING,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(szLogonDrive),
+ .offset = GLOBAL_VAR(logon_drive),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 25b6cdf88b..a6a4c38964 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -795,7 +795,7 @@ static void init_globals(bool reinit_globals)
string_set(&Globals.socket_options, DEFAULT_SOCKET_OPTIONS);
- string_set(&Globals.szLogonDrive, "");
+ string_set(&Globals.logon_drive, "");
/* %N is the NIS auto.home server if -DAUTOHOME is used, else same as %L */
string_set(&Globals.szLogonHome, "\\\\%N\\%U");
string_set(&Globals.szLogonPath, "\\\\%N\\%U\\profile");