Lines Matching refs:pam
1398 /* Cleanup PAM status associated with the port */
1415 if (isakmp_cfg_config.port_pool[port].pam != NULL) {
1416 pam_end(isakmp_cfg_config.port_pool[port].pam
1417 isakmp_cfg_config.port_pool[port].pam = NULL;
1424 /* Accounting, only for RADIUS or PAM */
1452 pam_handle_t *pam;
1460 pam = isakmp_cfg_config.port_pool[port].pam;
1461 if (pam == NULL) {
1462 plog(LLV_ERROR, LOCATION, NULL, "pam handle is NULL\n");
1468 error = pam_open_session(pam, 0);
1471 error = pam_close_session(pam, 0);
1472 pam_end(pam, error);
1473 isakmp_cfg_config.port_pool[port].pam = NULL;
1483 pam_strerror(pam, error));