Lines Matching refs:pamh
1284 pam_handle_t *pamh = NULL; in CheckPAMAuth() local
1303 &pam_passw_conv, &pamh); in CheckPAMAuth()
1306 &pam_passw_conv, &pamh); in CheckPAMAuth()
1314 … errdetail("unable to create PAM authenticator: %s", pam_strerror(pamh, retval)))); in CheckPAMAuth()
1317 retval = pam_set_item(pamh, PAM_USER, user); in CheckPAMAuth()
1324 errdetail("pam_set_item(PAM_USER) failed: %s", pam_strerror(pamh, retval)))); in CheckPAMAuth()
1327 retval = pam_set_item(pamh, PAM_CONV, &pam_passw_conv); in CheckPAMAuth()
1334 errdetail("pam_set_item(PAM_CONV) failed: %s", pam_strerror(pamh, retval)))); in CheckPAMAuth()
1337 retval = pam_authenticate(pamh, 0); in CheckPAMAuth()
1344 errdetail("pam_authenticate failed: %s", pam_strerror(pamh, retval)))); in CheckPAMAuth()
1347 retval = pam_acct_mgmt(pamh, 0); in CheckPAMAuth()
1354 … errdetail("system call pam_acct_mgmt failed : %s", pam_strerror(pamh, retval)))); in CheckPAMAuth()
1357 retval = pam_end(pamh, retval); in CheckPAMAuth()
1363 … errdetail("unable to release PAM authenticator: %s", pam_strerror(pamh, retval)))); in CheckPAMAuth()