Lines Matching refs:pam_error
166 pam_strerror(pamh, pam_error)); \
798 int pam_error;
828 pam_error = pam_start(XLOCK_PAM_SERVICE, user, &pc, &pamh);
829 if (pam_error != PAM_SUCCESS) {
909 pam_error = pam_authenticate(pamh, pam_flags);
910 if (pam_error == PAM_SUCCESS) {
913 pam_error = pam_acct_mgmt(pamh, pam_flags);
915 if (pam_error == PAM_NEW_AUTHTOK_REQD) {
917 pam_error = pam_chauthtok(pamh,
919 } while (pam_error == PAM_AUTHTOK_ERR ||
920 pam_error == PAM_TRY_AGAIN);
923 audit_passwd(pam_error);
927 if (pam_error == PAM_SUCCESS) {
928 pam_error = pam_setcred(pamh,PAM_REFRESH_CRED);
929 if (pam_error != PAM_SUCCESS) {
936 audit_unlock(pam_error);
944 audit_unlock(pam_error);
949 if (pam_error != PAM_SUCCESS) {
950 authErrMsg = pam_strerror(pamh, pam_error);
1020 audit_unlock(pam_error);
1022 pam_end(pamh, pam_error);
1057 pam_end(pamh, pam_error);