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

/external/ppp/pppd/
H A 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_erro
[all...]
/external/libcap/pam_cap/
H A Dpam_cap.c229 int pam_sm_authenticate(pam_handle_t *pamh, int flags, argument
240 retval = pam_get_user(pamh, &pcs.user, NULL);
249 D(("pam_get_user failed: %s", pam_strerror(pamh, retval)));
283 int pam_sm_setcred(pam_handle_t *pamh, int flags, argument
298 retval = pam_get_item(pamh, PAM_USER, (const void **)&pcs.user);
/external/openssh/
H A Dauth-pam.c239 pam_getenvlist(pam_handle_t *pamh) argument
259 sshpam_chauthtok_ruid(pam_handle_t *pamh, int flags) argument
267 result = pam_chauthtok(pamh, flags);

Completed in 2020 milliseconds