summaryrefslogtreecommitdiffstats
path: root/source/smbd/reply.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2000-09-12 04:50:36 +0000
committerAndrew Tridgell <tridge@samba.org>2000-09-12 04:50:36 +0000
commit2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653 (patch)
tree99ab3d11321ec0310656233fdc719d547000d151 /source/smbd/reply.c
parentc3350c77f52cade48d2945574e09cb630af85b92 (diff)
downloadsamba-2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653.tar.gz
samba-2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653.tar.xz
samba-2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653.zip
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.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r--source/smbd/reply.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c
index 7e6a244190a..397cae62217 100644
--- a/source/smbd/reply.c
+++ b/source/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;