summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-03-28 16:32:06 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-06-04 03:22:26 +0200
commit57228317fc2339b83cccf4b1f3515d8a3b435a3c (patch)
tree59ae7159bce3473cd194e4abc2574e104ee2036c /lib
parent67a9d2183ec0f9177a66100ed4fc251979e39bc9 (diff)
downloadsamba-57228317fc2339b83cccf4b1f3515d8a3b435a3c.tar.gz
samba-57228317fc2339b83cccf4b1f3515d8a3b435a3c.tar.xz
samba-57228317fc2339b83cccf4b1f3515d8a3b435a3c.zip
winbind: Fix template homedir to match source3
Fix provided by Andy Igoshin <ai@vsu.ru> BUG: https://bugzilla.samba.org/show_bug.cgi?id=10324 Andrew Bartlett Change-Id: Ie94d207fed91e9dfd85ee3c3339c376b25ac5fa4 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c
index bf0cbc0e9d9..5a0ef8824a1 100644
--- a/lib/param/loadparm.c
+++ b/lib/param/loadparm.c
@@ -2294,7 +2294,7 @@ struct loadparm_context *loadparm_init(TALLOC_CTX *mem_ctx)
lpcfg_do_global_parameter_var(lp_ctx, "samba kcc command",
"%s/samba_kcc", dyn_SCRIPTSBINDIR);
lpcfg_do_global_parameter(lp_ctx, "template shell", "/bin/false");
- lpcfg_do_global_parameter(lp_ctx, "template homedir", "/home/%WORKGROUP%/%ACCOUNTNAME%");
+ lpcfg_do_global_parameter(lp_ctx, "template homedir", "/home/%D/%U");
lpcfg_do_global_parameter(lp_ctx, "client signing", "default");
lpcfg_do_global_parameter(lp_ctx, "server signing", "default");