Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dsession.c113 static pam_handle_t *pamh = NULL; variable
220 pam_error = pam_start (SERVICE_NAME, usr, &pam_conv_data, &pamh);
225 ok = (pam_set_item(pamh, PAM_TTY, ttyName) == PAM_SUCCESS) &&
226 (pam_set_item(pamh, PAM_RHOST, ifname) == PAM_SUCCESS);
231 pam_error = pam_authenticate (pamh, PAM_SILENT);
244 pam_strerror(pamh, pam_error));
245 SET_MSG(msg, (char *) pam_strerror (pamh, pam_error));
252 pam_error = pam_acct_mgmt (pamh, PAM_SILENT);
278 pam_strerror(pamh, pam_error));
279 SET_MSG(msg, (char *) pam_strerror (pamh, pam_error));
[all …]
/external/libcap/pam_cap/
Dpam_cap.c229 int pam_sm_authenticate(pam_handle_t *pamh, int flags, in pam_sm_authenticate() argument
240 retval = pam_get_user(pamh, &pcs.user, NULL); in pam_sm_authenticate()
249 D(("pam_get_user failed: %s", pam_strerror(pamh, retval))); in pam_sm_authenticate()
283 int pam_sm_setcred(pam_handle_t *pamh, int flags, in pam_sm_setcred() argument
298 retval = pam_get_item(pamh, PAM_USER, (const void **)&pcs.user); in pam_sm_setcred()
/external/openssh/
Dauth-pam.c252 pam_getenvlist(pam_handle_t *pamh) in pam_getenvlist() argument
272 sshpam_chauthtok_ruid(pam_handle_t *pamh, int flags) in sshpam_chauthtok_ruid() argument
280 result = pam_chauthtok(pamh, flags); in sshpam_chauthtok_ruid()