Lines Matching defs:authctxt
280 fatal("%s: PAM authctxt not initialized", __func__);
462 fatal("%s: PAM authctxt not initialized", __func__);
621 sshpam_init(Authctxt *authctxt)
624 const char *pam_rhost, *pam_user, *user = authctxt->user;
639 sshpam_authctxt = authctxt;
672 sshpam_init_ctx(Authctxt *authctxt)
686 if (sshpam_init(authctxt) == -1) {
884 start_pam(Authctxt *authctxt)
889 if (sshpam_init(authctxt) == -1)
1179 sshpam_auth_passwd(Authctxt *authctxt, const char *password)
1189 sshpam_authctxt = authctxt;
1196 if (!authctxt->valid || (authctxt->pw->pw_uid == 0 &&
1208 if (sshpam_err == PAM_SUCCESS && authctxt->valid) {
1210 authctxt->user);
1214 authctxt->valid ? authctxt->user : "an illegal user",