summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-28 20:45:00 +0000
committerJeremy Allison <jra@samba.org>2000-08-28 20:45:00 +0000
commit7d93eb3483029c9edd2c7b6361d514a7a3ec4e94 (patch)
tree45dcb92b25fbd2edb7961ce5c2628a2d4b4907d8 /source3/smbd/reply.c
parent0c5bbb3bbdaa634361d2abbc4d705343df448caa (diff)
downloadsamba-7d93eb3483029c9edd2c7b6361d514a7a3ec4e94.tar.gz
samba-7d93eb3483029c9edd2c7b6361d514a7a3ec4e94.tar.xz
samba-7d93eb3483029c9edd2c7b6361d514a7a3ec4e94.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. (This used to be commit 2b6e3ed7a6447d40d9dd7e9b5c286b1aabe4730d)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 00697c999a8..00e6f44dd0f 100644
--- a/source3/smbd/reply.c
+++ b/source3/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);