diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-05-02 13:55:42 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-05-02 13:55:42 +0000 |
commit | 32d5416b6a777a7874fec8518ec44e750560d882 (patch) | |
tree | fc131a6a1693847cb20af69e4cff36941ab53f3f /source3/lib/substitute.c | |
parent | 88a97957e7d6547fc0a021127d1de52a132d341f (diff) | |
download | samba-32d5416b6a777a7874fec8518ec44e750560d882.tar.gz samba-32d5416b6a777a7874fec8518ec44e750560d882.tar.xz samba-32d5416b6a777a7874fec8518ec44e750560d882.zip |
split the username in the vuser structure into a separate
userdom_struct. As the name implies this also contains a domain
(unused at the moment).
This will be important shortly, as operation in appliance mode needs
the domain to be always carried with the username.
(This used to be commit ee8546342d5be90e730372b985710d764564b124)
Diffstat (limited to 'source3/lib/substitute.c')
-rw-r--r-- | source3/lib/substitute.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 2a575f0c38..a23f613814 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -280,7 +280,7 @@ void standard_sub_snum(int snum, char *str) ********************************************************************/ void standard_sub_vuser(char *str, user_struct *vuser) { - standard_sub_advanced(-1, vuser->name, "", -1, str); + standard_sub_advanced(-1, vuser->user.unix_name, "", -1, str); } /******************************************************************* @@ -288,6 +288,6 @@ void standard_sub_vuser(char *str, user_struct *vuser) ********************************************************************/ void standard_sub_vsnum(char *str, user_struct *vuser, int snum) { - standard_sub_advanced(snum, vuser->name, "", -1, str); + standard_sub_advanced(snum, vuser->user.unix_name, "", -1, str); } |