Lines Matching refs:pam_err
76 int pam_err, retry; in pam_sm_authenticate() local
82 if ((pam_err = pam_get_user(pamh, &user, NULL)) != PAM_SUCCESS) in pam_sm_authenticate()
83 return (pam_err); in pam_sm_authenticate()
89 pam_err = pam_get_item(pamh, PAM_CONV, (const void **)&conv); in pam_sm_authenticate()
90 if (pam_err != PAM_SUCCESS) in pam_sm_authenticate()
98 pam_err = pam_get_authtok(pamh, PAM_AUTHTOK, in pam_sm_authenticate()
102 pam_err = (*conv->conv)(1, &msgp, &resp, conv->appdata_ptr); in pam_sm_authenticate()
104 if (pam_err == PAM_SUCCESS) in pam_sm_authenticate()
111 if (pam_err == PAM_SUCCESS) in pam_sm_authenticate()
114 if (pam_err == PAM_CONV_ERR) in pam_sm_authenticate()
115 return (pam_err); in pam_sm_authenticate()
116 if (pam_err != PAM_SUCCESS) in pam_sm_authenticate()
123 pam_err = PAM_AUTH_ERR; in pam_sm_authenticate()
125 pam_err = PAM_SUCCESS; in pam_sm_authenticate()
129 return (pam_err); in pam_sm_authenticate()