Missed this in the previous patch - we now have a seperate idea of the
authorAndrew Bartlett <abartlet@samba.org>
Thu, 3 Jul 2003 14:56:04 +0000 (14:56 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 3 Jul 2003 14:56:04 +0000 (14:56 +0000)
'unix username' from the NT username, in the auth subsystem at least.

Andrew Bartlett

source/smbd/password.c

index 9560449aa51f4731251f3e61182011e670d912ce..e2c143f1e24c8529ff0bc3b38c0816c89f1703a4 100644 (file)
@@ -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));