summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-07-03 14:56:04 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-07-03 14:56:04 +0000
commit6dc3885999b6b69bf9960fda012bece214e27ad5 (patch)
treec0bac548d52f91a3b54836f4758ade0211eddce1
parent61116049cabc292c2f2d570af4d68ddc537b91f5 (diff)
downloadsamba-6dc3885999b6b69bf9960fda012bece214e27ad5.tar.gz
samba-6dc3885999b6b69bf9960fda012bece214e27ad5.tar.bz2
samba-6dc3885999b6b69bf9960fda012bece214e27ad5.zip
Missed this in the previous patch - we now have a seperate idea of the
'unix username' from the NT username, in the auth subsystem at least. Andrew Bartlett (This used to be commit df1aa2a669edc9f26007595411720742d7dff5d9)
-rw-r--r--source3/smbd/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/password.c b/source3/smbd/password.c
index 9560449aa5..e2c143f1e2 100644
--- a/source3/smbd/password.c
+++ b/source3/smbd/password.c
@@ -157,7 +157,7 @@ int register_vuid(auth_serversupplied_info *server_info, const char *smb_name)
}
vuser->guest = server_info->guest;
- fstrcpy(vuser->user.unix_name, pdb_get_username(server_info->sam_account));
+ fstrcpy(vuser->user.unix_name, server_info->unix_name);
/* This is a potentially untrusted username */
alpha_strcpy(vuser->user.smb_name, smb_name, ". _-$", sizeof(vuser->user.smb_name));