Lines Matching defs:authctxt
79 Authctxt *authctxt = ssh->authctxt;
80 struct passwd *pw = authctxt->pw;
81 int result, ok = authctxt->valid;
98 int ret = auth_krb5_password(authctxt, password);
116 return (sshpam_auth_passwd(authctxt, password) && ok);
121 if (auth_shadow_pwexpired(authctxt))
122 authctxt->force_pwchange = 1;
126 if (authctxt->force_pwchange)
133 warn_expiry(Authctxt *authctxt, auth_session_t *as)
143 if (authctxt->valid) {
169 Authctxt *authctxt = ssh->authctxt;
173 as = auth_usercheck(authctxt->pw->pw_name, authctxt->style, "auth-ssh",
180 authctxt->force_pwchange = 1;
185 warn_expiry(authctxt, as);
194 Authctxt *authctxt = ssh->authctxt;
195 struct passwd *pw = authctxt->pw;
198 /* Just use the supplied fake password if authctxt is invalid */
199 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd;
212 if (authctxt->valid && pw_password[0] && pw_password[1])