summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/auth.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/smbd/auth.c b/source3/smbd/auth.c
index cb0d54bf9b..d33bc225e6 100644
--- a/source3/smbd/auth.c
+++ b/source3/smbd/auth.c
@@ -230,6 +230,8 @@ BOOL password_ok(char *user, char *password, int pwlen)
return False;
}
+ /* The password could be either NTLM or plain LM. Try NTLM first, but fall-through as
+ required. */
if (pass_check_smb(user, lp_workgroup(), NULL, 0, password, pwlen) == NT_STATUS_NOPROBLEMO) {
return True;
}