diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-09-20 03:31:57 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-09-20 03:31:57 +0000 |
commit | ba1b411f556bfac8b953c44c81257c7d8fb9817d (patch) | |
tree | 8609db2f88f500e080aa08a5157ffba503456db0 /source/auth | |
parent | 7c9ae76b3ff4f1ba88ddad570648f32f99e38944 (diff) | |
download | samba-ba1b411f556bfac8b953c44c81257c7d8fb9817d.tar.gz samba-ba1b411f556bfac8b953c44c81257c7d8fb9817d.tar.xz samba-ba1b411f556bfac8b953c44c81257c7d8fb9817d.zip |
Fix for MiXed and UPPER case usernames with plaintext PAM passwords.
Diffstat (limited to 'source/auth')
-rw-r--r-- | source/auth/auth_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_unix.c b/source/auth/auth_unix.c index 7c6c58cafa0..4740f7fb0dc 100644 --- a/source/auth/auth_unix.c +++ b/source/auth/auth_unix.c @@ -78,7 +78,7 @@ NTSTATUS check_unix_security(const auth_usersupplied_info *user_info, auth_serve pass = Get_Pwnam(user_info->unix_username.str, False); nt_status = (pass_check(pass, - user_info->unix_username.str, + pass ? pass->pw_name : user_info->unix_username.str, user_info->plaintext_password.str, user_info->plaintext_password.len, lp_update_encrypted() ? |