Lines Matching refs:sshpam_authctxt
246 static Authctxt *sshpam_authctxt = NULL; variable
276 if (sshpam_authctxt == NULL) in sshpam_chauthtok_ruid()
278 if (setreuid(sshpam_authctxt->pw->pw_uid, -1) == -1) in sshpam_chauthtok_ruid()
292 if (sshpam_authctxt == NULL) in sshpam_password_change_required()
294 sshpam_authctxt->force_pwchange = reqd; in sshpam_password_change_required()
448 if (sshpam_authctxt != NULL) { in sshpam_thread()
450 sshpam_authctxt->valid ? pam_user : "unknown"); in sshpam_thread()
457 if (sshpam_authctxt == NULL) in sshpam_thread()
476 if (sshpam_authctxt->force_pwchange) { in sshpam_thread()
490 buffer_put_int(&buffer, sshpam_authctxt->force_pwchange); in sshpam_thread()
639 sshpam_authctxt = authctxt; in sshpam_init()
788 if (!sshpam_authctxt->valid || in sshpam_query()
789 (sshpam_authctxt->pw->pw_uid == 0 && in sshpam_query()
802 sshpam_authctxt->valid ? "" : "illegal user ", in sshpam_query()
803 sshpam_authctxt->user, in sshpam_query()
864 if (sshpam_authctxt->valid && in sshpam_respond()
865 (sshpam_authctxt->pw->pw_uid != 0 || in sshpam_respond()
1211 sshpam_authctxt = authctxt; in sshpam_auth_passwd()