git.samba.org
/
tprouty
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85f8819
)
Missed this in the previous patch - we now have a seperate idea of the
author
Andrew Bartlett
<abartlet@samba.org>
Thu, 3 Jul 2003 14:56:04 +0000
(14:56 +0000)
committer
Andrew 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
patch
|
blob
|
history
diff --git
a/source/smbd/password.c
b/source/smbd/password.c
index 9560449aa51f4731251f3e61182011e670d912ce..e2c143f1e24c8529ff0bc3b38c0816c89f1703a4 100644
(file)
--- a/
source/smbd/password.c
+++ b/
source/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));