Lines Matching defs:sshpam_authctxt
241 static Authctxt *sshpam_authctxt = NULL;
271 if (sshpam_authctxt == NULL)
272 fatal("PAM: sshpam_authctxt not initialized");
273 if (setreuid(sshpam_authctxt->pw->pw_uid, -1) == -1)
287 if (sshpam_authctxt == NULL)
289 sshpam_authctxt->force_pwchange = reqd;
443 if (sshpam_authctxt != NULL) {
445 sshpam_authctxt->valid ? pam_user : "unknown");
452 if (sshpam_authctxt == NULL)
471 if (sshpam_authctxt->force_pwchange) {
485 buffer_put_int(&buffer, sshpam_authctxt->force_pwchange);
635 sshpam_authctxt = authctxt;
784 if (!sshpam_authctxt->valid ||
785 (sshpam_authctxt->pw->pw_uid == 0 &&
798 sshpam_authctxt->valid ? "" : "illegal user ",
799 sshpam_authctxt->user,
858 if (sshpam_authctxt->valid &&
859 (sshpam_authctxt->pw->pw_uid != 0 ||
1217 sshpam_authctxt = authctxt;