Home | History | Annotate | Download | only in pppd

Lines Matching refs:pamh

1461 static pam_handle_t *pamh = NULL;
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) {
1663 pam_error = pam_close_session (pamh, PAM_SILENT);
1664 pam_end (pamh, pam_error);
1665 pamh = NULL;