Lines Matching refs:sshpam_authctxt
232 static Authctxt *sshpam_authctxt = NULL; variable
263 if (sshpam_authctxt == NULL) in sshpam_chauthtok_ruid()
265 if (setreuid(sshpam_authctxt->pw->pw_uid, -1) == -1) in sshpam_chauthtok_ruid()
279 if (sshpam_authctxt == NULL) in sshpam_password_change_required()
281 sshpam_authctxt->force_pwchange = reqd; in sshpam_password_change_required()
452 if (sshpam_authctxt != NULL) { in sshpam_thread()
454 sshpam_authctxt->valid ? pam_user : "unknown"); in sshpam_thread()
461 if (sshpam_authctxt == NULL) in sshpam_thread()
478 if (sshpam_authctxt->force_pwchange) { in sshpam_thread()
492 buffer_put_int(&buffer, sshpam_authctxt->force_pwchange); in sshpam_thread()
639 sshpam_authctxt = authctxt; in sshpam_init()
783 if (!sshpam_authctxt->valid || in sshpam_query()
784 (sshpam_authctxt->pw->pw_uid == 0 && in sshpam_query()
797 sshpam_authctxt->valid ? "" : "illegal user ", in sshpam_query()
798 sshpam_authctxt->user, in sshpam_query()
834 if (sshpam_authctxt->valid && in sshpam_respond()
835 (sshpam_authctxt->pw->pw_uid != 0 || in sshpam_respond()
1189 sshpam_authctxt = authctxt; in sshpam_auth_passwd()