From 68525e9021832a74608f2dc3e0247317e713e384 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 20 Aug 2001 22:01:44 +0000 Subject: Add comment to clarify why we call this twice. (This used to be commit afece03d023b2905c27e147516b61487a7503028) --- source3/auth/auth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source3/auth') diff --git a/source3/auth/auth.c b/source3/auth/auth.c index cb0d54bf9b..d33bc225e6 100644 --- a/source3/auth/auth.c +++ b/source3/auth/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; } -- cgit