From a19836ae5267fa967482f2baacd5e8cf8767bf79 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 12 Sep 2000 04:50:36 +0000 Subject: 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) --- source3/smbd/reply.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source3/smbd/reply.c') diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 7e6a244190..397cae6221 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -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; -- cgit