summaryrefslogtreecommitdiff
path: root/source3
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
commit0e42cf24608c78d0285fa7cf70f252f9f0703668 (patch)
treeb557bda53103e1a23dbba5bb165f331d5bf8f943 /source3
parent8c60a408e137a85d648422f5dbef4f53874236a3 (diff)
downloadsamba-0e42cf24608c78d0285fa7cf70f252f9f0703668.tar.gz
samba-0e42cf24608c78d0285fa7cf70f252f9f0703668.tar.bz2
samba-0e42cf24608c78d0285fa7cf70f252f9f0703668.zip
setup the %U substitution in winbindd for the homedir template
(This used to be commit 6186c10ceb2e61cd684968b56d3f32d9916538f8)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index 5ae2fe7870..06c95224ab 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/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());