diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-08-20 22:01:44 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-08-20 22:01:44 +0000 |
commit | afece03d023b2905c27e147516b61487a7503028 (patch) | |
tree | 31af9da40ad0712fa895de949ab384f8a7e72862 /source/auth | |
parent | a25911d58c752350b62b205cfb0d6fc5b1c90cef (diff) | |
download | samba-afece03d023b2905c27e147516b61487a7503028.tar.gz samba-afece03d023b2905c27e147516b61487a7503028.tar.xz samba-afece03d023b2905c27e147516b61487a7503028.zip |
Add comment to clarify why we call this twice.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/auth/auth.c b/source/auth/auth.c index cb0d54bf9b6..d33bc225e63 100644 --- a/source/auth/auth.c +++ b/source/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; } |