diff options
author | Jeremy Allison <jra@samba.org> | 2000-08-28 20:45:00 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-08-28 20:45:00 +0000 |
commit | 2b6e3ed7a6447d40d9dd7e9b5c286b1aabe4730d (patch) | |
tree | 2ab41fd0cf5bc7e58e113433f6f697e849b01ffe /source/smbd/reply.c | |
parent | 7db533cb47a0d9bc88219dbe48e96ceed45a65a1 (diff) | |
download | samba-2b6e3ed7a6447d40d9dd7e9b5c286b1aabe4730d.tar.gz samba-2b6e3ed7a6447d40d9dd7e9b5c286b1aabe4730d.tar.xz samba-2b6e3ed7a6447d40d9dd7e9b5c286b1aabe4730d.zip |
smbd/password.c: Fixed typo in Tim's new code that caused insure overrun error.
smbd/reply.c: Fixed lowercasing UNIX character set problem.
Jeremy.
Diffstat (limited to 'source/smbd/reply.c')
-rw-r--r-- | source/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/reply.c b/source/smbd/reply.c index 00697c999a8..00e6f44dd0f 100644 --- a/source/smbd/reply.c +++ b/source/smbd/reply.c @@ -671,6 +671,7 @@ 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)) { @@ -786,6 +787,7 @@ 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; @@ -828,8 +830,6 @@ int reply_sesssetup_and_X(connection_struct *conn, char *inbuf,char *outbuf,int guest = True; } - strlower(user); - pstrcpy(sesssetup_user,user); reload_services(True); |