49b9ca1 ipa_auth and krb5_auth: when providing wrong password return PAM_AUTH_ERR

2 files Authored by ipedrosa 3 years ago, Committed by pbrezina 3 years ago,
    ipa_auth and krb5_auth: when providing wrong password return PAM_AUTH_ERR
    
    When providing a wrong password for an existing IPA user, return PAM_AUTH_ERR (authentication failure) instead of PAM_CRED_ERR (failure setting user credentials). In order to do that it is necessary to translate PAM_CRED_ERR to PAM_AUTH_ERR once the providers are done.
    
    Resolves:
    https://github.com/SSSD/sssd/issues/5139
    
    Reviewed-by: Sumit Bose <sbose@redhat.com>
    
        
file modified
+16 -0