Searched refs:pam_retval (Results 1 – 9 of 9) sorted by relevance
/titanic_50/usr/src/cmd/ssh/sshd/ |
H A D | auth-pam.c | 433 int pam_retval; in do_pam_cleanup_proc() local 440 pam->authctxt->pam_retval = pam->last_pam_retval; in do_pam_cleanup_proc() 452 pam_retval = pam_set_item(pam->h, PAM_CONV, NULL); in do_pam_cleanup_proc() 453 if (pam_retval != PAM_SUCCESS) { in do_pam_cleanup_proc() 455 pam_retval, PAM_STRERROR(pam->h, pam_retval)); in do_pam_cleanup_proc() 460 pam_retval = pam_close_session(pam->h, 0); in do_pam_cleanup_proc() 461 if (pam_retval != PAM_SUCCESS) in do_pam_cleanup_proc() 463 pam_retval, PAM_STRERROR(pam->h, pam_retval)); in do_pam_cleanup_proc() 467 pam_retval = pam_setcred(pam->h, PAM_DELETE_CRED); in do_pam_cleanup_proc() 468 if (pam_retval != PAM_SUCCESS) in do_pam_cleanup_proc() [all …]
|
H A D | bsmaudit.c | 68 audit_sshd_chauthtok(int pam_retval, uid_t uid, gid_t gid) in audit_sshd_chauthtok() argument 91 if (pam_retval == PAM_SUCCESS) { in audit_sshd_chauthtok() 98 ADT_FAIL_PAM + pam_retval) != 0) { in audit_sshd_chauthtok() 176 audit_sshd_login_failure(adt_session_data_t **ah, int pam_retval, char *user) in audit_sshd_login_failure() argument 232 if (adt_put_event(event, ADT_FAILURE, ADT_FAIL_PAM + pam_retval) != 0) { in audit_sshd_login_failure()
|
H A D | bsmaudit.h | 37 void audit_sshd_chauthtok(int pam_retval, uid_t uid, gid_t gid); 39 void audit_sshd_login_failure(adt_session_data_t **ah, int pam_retval,
|
H A D | session.c | 2467 int pam_retval; in session_do_pam() local 2476 pam_retval = pam_get_item(s->authctxt->pam->h, PAM_CONV, in session_do_pam() 2478 if (pam_retval != PAM_SUCCESS) in session_do_pam() 2483 pam_retval = pam_get_item(s->authctxt->pam->h, PAM_TTY, in session_do_pam() 2485 if (pam_retval != PAM_SUCCESS) in session_do_pam() 2491 pam_retval = pam_set_item(s->authctxt->pam->h, PAM_TTY, s->tty); in session_do_pam() 2492 if (pam_retval != PAM_SUCCESS) in session_do_pam() 2497 pam_retval = pam_set_item(s->authctxt->pam->h, in session_do_pam() 2499 if (pam_retval != PAM_SUCCESS) in session_do_pam() 2505 pam_retval = pam_open_session(s->authctxt->pam->h, 0); in session_do_pam() [all …]
|
H A D | auth.c | 339 if (authctxt->pam_retval == PAM_SUCCESS) { in audit_failed_login_cleanup() 343 audit_sshd_login_failure(&ah, authctxt->pam_retval, in audit_failed_login_cleanup()
|
H A D | auth1.c | 361 authctxt->pam_retval = AUTHPAM_ERROR(authctxt, in do_authloop()
|
H A D | auth2.c | 367 authctxt->pam_retval = AUTHPAM_ERROR(authctxt, PAM_PERM_DENIED); in userauth_finish()
|
/titanic_50/usr/src/cmd/passwd/ |
H A D | passwd.c | 175 static int pam_retval = PAM_SUCCESS; variable 383 pam_retval = pam_acct_mgmt(pamh, PAM_SILENT); in main() 384 switch (pam_retval) { in main() 407 pam_retval = PAM_AUTHTOK_ERR; in main() 414 while (pam_retval == PAM_AUTHTOK_ERR && tries <= DEF_ATTEMPTS) { in main() 417 pam_retval = pam_chauthtok(pamh, chk_authtok); in main() 418 if (pam_retval == PAM_TRY_AGAIN) { in main() 420 pam_retval = pam_chauthtok(pamh, chk_authtok); in main() 425 switch (pam_retval) { in main() 1508 (void) pam_end(pamh, pam_retval); in passwd_exit() [all …]
|
/titanic_50/usr/src/cmd/ssh/include/ |
H A D | auth.h | 106 int pam_retval; /* pam_stuff is cleaned before member
|