summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-11-20 00:53:24 +0000
committerAndrew Tridgell <tridge@samba.org>2002-11-20 00:53:24 +0000
commit91b7ac9fb955124263d0e86801db972590dabfb9 (patch)
tree81f444bc67d71b09813d010f9d0001af01f1cc8e /source3/nsswitch
parent69f3c8f3041a50ea19983cb9e70f3bd663a191df (diff)
downloadsamba-91b7ac9fb955124263d0e86801db972590dabfb9.tar.gz
samba-91b7ac9fb955124263d0e86801db972590dabfb9.tar.bz2
samba-91b7ac9fb955124263d0e86801db972590dabfb9.zip
merged the %U changes to 3.0
(This used to be commit 58fa6bfee8ba35cc182c18c980e0a4040ddd7d09)
Diffstat (limited to 'source3/nsswitch')
-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 4f57fd2c72..56bcb3d818 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());