summaryrefslogtreecommitdiff
path: root/source3/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
commita19836ae5267fa967482f2baacd5e8cf8767bf79 (patch)
tree20a2849f9a31688fff68c5cb1babed01f01ed751 /source3/smbd/reply.c
parent06eeb3c45803bcf26ee586103a974fd852de21b9 (diff)
downloadsamba-a19836ae5267fa967482f2baacd5e8cf8767bf79.tar.gz
samba-a19836ae5267fa967482f2baacd5e8cf8767bf79.tar.bz2
samba-a19836ae5267fa967482f2baacd5e8cf8767bf79.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. (This used to be commit 2ebfdd21b3123d7daefeeed4dae6e8bc3a7a7653)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 0 insertions, 2 deletions
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;