diff options
author | Andrew Tridgell <tridge@samba.org> | 1996-10-07 15:04:48 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1996-10-07 15:04:48 +0000 |
commit | ec85f2e53d18a818440cf716ad6b6892594cae85 (patch) | |
tree | 8793c810f9b935a740ea4ad013671c9e50fb6ce6 /source3/smbd/reply.c | |
parent | 426d930adb9f816053b6cb3ea0696c1a8ad38d3c (diff) | |
download | samba-ec85f2e53d18a818440cf716ad6b6892594cae85.tar.gz samba-ec85f2e53d18a818440cf716ad6b6892594cae85.tar.bz2 samba-ec85f2e53d18a818440cf716ad6b6892594cae85.zip |
- revert to old idle dir code (marty pointed out a problem with the
new code)
- handle server level security in the new "detect NT password length
stuffups" code
(This used to be commit 7c135d499409d4ddedb978f681559dae90ac4288)
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r-- | source3/smbd/reply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c index 48a0732617..a37c1901be 100644 --- a/source3/smbd/reply.c +++ b/source3/smbd/reply.c @@ -372,7 +372,7 @@ int reply_sesssetup_and_X(char *inbuf,char *outbuf,int length,int bufsize) if passlen1>0 and passlen2>0 then its a NT box and its setting passlen2 to some random value which really stuffs things up. we need to fix that one. */ - if (passlen1 > 0 && passlen2 > 0) { + if (passlen1 > 0 && passlen2 > 0 && passlen2 != 24) { passlen2 = 0; } /* we use the first password that they gave */ |