Home
last modified time | relevance | path

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

/external/ppp/pppd/
Dauth.c1461 static pam_handle_t *pamh = NULL; variable
1543 pam_error = pam_start ("ppp", user, &PAM_conversation, &pamh);
1545 *msg = (char *) pam_strerror (pamh, pam_error);
1556 pam_set_item (pamh, PAM_TTY, devnam); /* this might be useful to some modules */
1561 pam_error = pam_authenticate (pamh, PAM_SILENT);
1563 pam_error = pam_acct_mgmt (pamh, PAM_SILENT);
1565 pam_error = pam_open_session (pamh, PAM_SILENT);
1568 *msg = (char *) pam_strerror (pamh, pam_error);
1662 if (pamh != NULL) { in plogout()
1663 pam_error = pam_close_session (pamh, PAM_SILENT); in plogout()
[all …]