summaryrefslogtreecommitdiffstats
path: root/source/nsswitch
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-02-12 00:56:14 +0000
committerAndrew Tridgell <tridge@samba.org>2003-02-12 00:56:14 +0000
commit6186c10ceb2e61cd684968b56d3f32d9916538f8 (patch)
tree976e7cc2ef41928f68b25db4e30680e29c670464 /source/nsswitch
parentbceac9cdde04a57d661b6a7ece329fa6d5a169bd (diff)
downloadsamba-6186c10ceb2e61cd684968b56d3f32d9916538f8.tar.gz
samba-6186c10ceb2e61cd684968b56d3f32d9916538f8.tar.xz
samba-6186c10ceb2e61cd684968b56d3f32d9916538f8.zip
setup the %U substitution in winbindd for the homedir template
Diffstat (limited to 'source/nsswitch')
-rw-r--r--source/nsswitch/winbindd_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nsswitch/winbindd_user.c b/source/nsswitch/winbindd_user.c
index 5ae2fe78702..06c95224ab9 100644
--- a/source/nsswitch/winbindd_user.c
+++ b/source/nsswitch/winbindd_user.c
@@ -73,6 +73,7 @@ static BOOL winbindd_fill_pwent(char *dom_name, char *user_name,
by lp_string() calling standard_sub_basic(). */
fstrcpy(current_user_info.smb_name, user_name);
+ sub_set_smb_name(user_name);
fstrcpy(current_user_info.domain, dom_name);
pstrcpy(homedir, lp_template_homedir());