summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2013-12-24 16:04:04 +1300
committerJeremy Allison <jra@samba.org>2014-01-24 16:18:58 -0800
commit8fdb3739c5c826cda7a1a01d365caa84356f6939 (patch)
tree02985baba73bcb89fc27d1ecfd18c8f97b3c32dd
parentbcea89bd59306e8da7705a9e98cd6b83b78b831f (diff)
downloadsamba-8fdb3739c5c826cda7a1a01d365caa84356f6939.tar.gz
samba-8fdb3739c5c826cda7a1a01d365caa84356f6939.tar.xz
samba-8fdb3739c5c826cda7a1a01d365caa84356f6939.zip
param: Rename variable used for lp_template_homedir szTemplateHomedir
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 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);