summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 652d6e4795..bfa68ab140 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -605,7 +605,7 @@ user %s attempted down-level SMB connection\n", user));
setting passlen2 to some random value which really stuffs
things up. we need to fix that one. */
- if (passlen1 > 0 && passlen2 > 0 && passlen2 <= 24 && passlen2 != 1)
+ if (passlen1 > 0 && passlen2 > 0 && passlen2 != 1)
passlen2 = 0;
}