diff options
-rw-r--r-- | lib/param/param_functions.c | 2 | ||||
-rw-r--r-- | lib/param/param_table.c | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/param/param_functions.c b/lib/param/param_functions.c index 415a6bfa54..e430a4d3d6 100644 --- a/lib/param/param_functions.c +++ b/lib/param/param_functions.c @@ -261,7 +261,7 @@ FN_GLOBAL_CONST_STRING(private_dir, private_dir) FN_GLOBAL_CONST_STRING(realm, realm) FN_GLOBAL_CONST_STRING(smb_passwd_file, smb_passwd_file) FN_GLOBAL_CONST_STRING(socket_options, socket_options) -FN_GLOBAL_CONST_STRING(template_homedir, szTemplateHomedir) +FN_GLOBAL_CONST_STRING(template_homedir, template_homedir) FN_GLOBAL_CONST_STRING(template_shell, szTemplateShell) FN_GLOBAL_CONST_STRING(unix_charset, unix_charset) FN_GLOBAL_CONST_STRING(utmpdir, szUtmpDir) diff --git a/lib/param/param_table.c b/lib/param/param_table.c index 2bb0f9b611..030f6655df 100644 --- a/lib/param/param_table.c +++ b/lib/param/param_table.c @@ -3977,7 +3977,7 @@ static struct parm_struct parm_table[] = { .label = "template homedir", .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(szTemplateHomedir), + .offset = GLOBAL_VAR(template_homedir), .special = NULL, .enum_list = NULL, .flags = FLAG_ADVANCED, diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 78ebddf1dd..293a8afedb 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -959,7 +959,7 @@ static void init_globals(bool reinit_globals) string_set(&Globals.szIdmapBackend, "tdb"); string_set(&Globals.szTemplateShell, "/bin/false"); - string_set(&Globals.szTemplateHomedir, "/home/%D/%U"); + string_set(&Globals.template_homedir, "/home/%D/%U"); string_set(&Globals.szWinbindSeparator, "\\"); string_set(&Globals.szWinbinddSocketDirectory, dyn_WINBINDD_SOCKET_DIR); |