Lines Matching refs:pam_error
162 pam_strerror(pamh, pam_error)); \
793 int pam_error;
833 pam_error = pam_start(XLOCK_PAM_SERVICE, user, &pc, &pamh);
834 if (pam_error != PAM_SUCCESS) {
913 pam_error = pam_authenticate(pamh, pam_flags);
914 if (pam_error == PAM_SUCCESS) {
917 pam_error = pam_acct_mgmt(pamh, pam_flags);
919 if (pam_error == PAM_NEW_AUTHTOK_REQD) {
921 pam_error = pam_chauthtok(pamh,
923 } while (pam_error == PAM_AUTHTOK_ERR ||
924 pam_error == PAM_TRY_AGAIN);
927 audit_passwd(pam_error);
931 if (pam_error == PAM_SUCCESS) {
932 pam_error = pam_setcred(pamh,PAM_REFRESH_CRED);
933 if (pam_error != PAM_SUCCESS) {
940 audit_unlock(pam_error);
948 audit_unlock(pam_error);
953 if (pam_error != PAM_SUCCESS) {
954 authErrMsg = pam_strerror(pamh, pam_error);
1044 audit_unlock(pam_error);
1046 pam_end(pamh, pam_error);
1082 pam_end(pamh, pam_error);