Changeset View
Changeset View
Standalone View
Standalone View
crypto/openssh/auth-pam.c
| Show First 20 Lines • Show All 931 Lines • ▼ Show 20 Lines | case PAM_SUCCESS: | ||||
| import_environments(buffer); | import_environments(buffer); | ||||
| *num = 0; | *num = 0; | ||||
| **echo_on = 0; | **echo_on = 0; | ||||
| ctxt->pam_done = 1; | ctxt->pam_done = 1; | ||||
| free(msg); | free(msg); | ||||
| sshbuf_free(buffer); | sshbuf_free(buffer); | ||||
| return (0); | return (0); | ||||
| } | } | ||||
| BLACKLIST_NOTIFY(NULL, BLACKLIST_BAD_USER, | BLACKLIST_NOTIFY(NULL, BLACKLIST_AUTH_FAIL, | ||||
| sshpam_authctxt->user); | "PAM illegal user"); | ||||
| error("PAM: %s for %s%.100s from %.100s", msg, | error("PAM: %s for %s%.100s from %.100s", msg, | ||||
| sshpam_authctxt->valid ? "" : "illegal user ", | sshpam_authctxt->valid ? "" : "illegal user ", | ||||
| sshpam_authctxt->user, sshpam_rhost); | sshpam_authctxt->user, sshpam_rhost); | ||||
| /* FALLTHROUGH */ | /* FALLTHROUGH */ | ||||
| default: | default: | ||||
| *num = 0; | *num = 0; | ||||
| **echo_on = 0; | **echo_on = 0; | ||||
| free(msg); | free(msg); | ||||
| ▲ Show 20 Lines • Show All 464 Lines • Show Last 20 Lines | |||||