Home
last modified time | relevance | path

Searched refs:pamHandlep (Results 1 – 1 of 1) sorted by relevance

/external/dropbear/
Dsvr-authpam.c177 pam_handle_t* pamHandlep = NULL; in svr_auth_pam() local
202 if ((rc = pam_start("sshd", NULL, &pamConv, &pamHandlep)) != PAM_SUCCESS) { in svr_auth_pam()
204 rc, pam_strerror(pamHandlep, rc)); in svr_auth_pam()
209 if ((rc = pam_set_item(pamHandlep, PAM_TTY, "ssh") != PAM_SUCCESS)) { in svr_auth_pam()
211 rc, pam_strerror(pamHandlep, rc)); in svr_auth_pam()
215 (void) pam_fail_delay(pamHandlep, 0 /* musec_delay */); in svr_auth_pam()
219 if ((rc = pam_authenticate(pamHandlep, 0)) != PAM_SUCCESS) { in svr_auth_pam()
221 rc, pam_strerror(pamHandlep, rc)); in svr_auth_pam()
230 if ((rc = pam_acct_mgmt(pamHandlep, 0)) != PAM_SUCCESS) { in svr_auth_pam()
232 rc, pam_strerror(pamHandlep, rc)); in svr_auth_pam()
[all …]