diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-09-12 04:50:36 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-09-12 04:50:36 +0000 |
commit | 2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653 (patch) | |
tree | 99ab3d11321ec0310656233fdc719d547000d151 /source/smbd/reply.c | |
parent | c3350c77f52cade48d2945574e09cb630af85b92 (diff) | |
download | samba-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.c | 2 |
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; |