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 | 68525e9021832a74608f2dc3e0247317e713e384 (patch) | |
tree | 78e3eeff08b873dca0a6e85d86ea80eab8861709 /source3/auth | |
parent | f9ce2028104fcb1694bc3e8f8d4b7ac3ec8c972e (diff) | |
download | samba-68525e9021832a74608f2dc3e0247317e713e384.tar.gz samba-68525e9021832a74608f2dc3e0247317e713e384.tar.bz2 samba-68525e9021832a74608f2dc3e0247317e713e384.zip |
Add comment to clarify why we call this twice.
(This used to be commit afece03d023b2905c27e147516b61487a7503028)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |