1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

we should not lowercase the username we receive in

reply_sesssetup_and_X(). The getpwnam() wrapper handles the case
munging operations later.

this fixes a problem with mixed case usernames.
(This used to be commit 2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653)
This commit is contained in:
Andrew Tridgell 2000-09-12 04:50:36 +00:00
parent 06eeb3c458
commit a19836ae52

View File

@ -671,7 +671,6 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
* Incoming user is in DOS codepage format. Convert
* to UNIX.
*/
strlower(user);
dos_to_unix(user,True);
if (!doencrypt && (lp_security() != SEC_SERVER)) {
@ -787,7 +786,6 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int
* Incoming user is in DOS codepage format. Convert
* to UNIX.
*/
strlower(user);
dos_to_unix(user,True);
domain = p;