summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch/winbindd_user.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-02-12 01:08:40 +0000
committerJeremy Allison <jra@samba.org>2003-02-12 01:08:40 +0000
commit4403a1655cebd079aec47a8655368d1329748d09 (patch)
tree257a85cd0e272fdc4d4ba95708f97cb8675e7ee4 /source3/nsswitch/winbindd_user.c
parentabbbaa2f6f9f05164cf146ea3c712ea5a57afaa9 (diff)
downloadsamba-4403a1655cebd079aec47a8655368d1329748d09.tar.gz
samba-4403a1655cebd079aec47a8655368d1329748d09.tar.xz
samba-4403a1655cebd079aec47a8655368d1329748d09.zip
Merge from HEAD...setup the %U substitution in winbindd for the homedir template
Jeremy. (This used to be commit efc4b738aef08604947dcc1ab5c6383e9ee6d783)
Diffstat (limited to 'source3/nsswitch/winbindd_user.c')
-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 5ae2fe78702..06c95224ab9 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());