Searched refs:pamh (Results 1 - 1 of 1) sorted by relevance

/dovecot/src/auth/
H A Dpassdb-pam.c149 static int try_pam_auth(struct auth_request *request, pam_handle_t *pamh, argument
158 if ((status = pam_authenticate(pamh, 0)) != PAM_SUCCESS) {
166 pam_strerror(pamh, status), NULL);
194 if ((status = pam_setcred(pamh, PAM_ESTABLISH_CRED)) !=
198 pam_strerror(pamh, status));
204 if ((status = pam_acct_mgmt(pamh, 0)) != PAM_SUCCESS) {
207 pam_strerror(pamh, status));
212 if ((status = pam_open_session(pamh, 0)) != PAM_SUCCESS) {
215 pam_strerror(pamh, status));
219 if ((status = pam_close_session(pamh,
238 set_pam_items(struct auth_request *request, pam_handle_t *pamh) argument
255 pam_handle_t *pamh; local
[all...]

Completed in 9 milliseconds