diff options
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 00697c999a..00e6f44dd0 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); |