Lines Matching defs:authctxt
308 fatal("%s: PAM authctxt not initialized", __func__);
511 fatal("%s: PAM authctxt not initialized", __func__);
688 sshpam_init(struct ssh *ssh, Authctxt *authctxt)
690 const char *pam_user, *user = authctxt->user;
721 sshpam_authctxt = authctxt;
800 sshpam_init_ctx(Authctxt *authctxt)
814 if (sshpam_init(NULL, authctxt) == -1) {
1065 Authctxt *authctxt = (Authctxt *)ssh->authctxt;
1070 if (sshpam_init(ssh, authctxt) == -1)
1351 sshpam_auth_passwd(Authctxt *authctxt, const char *password)
1362 sshpam_authctxt = authctxt;
1369 if (!authctxt->valid || (authctxt->pw->pw_uid == 0 &&
1386 if (sshpam_err == PAM_SUCCESS && authctxt->valid) {
1388 authctxt->user);
1392 authctxt->valid ? authctxt->user : "an illegal user",