Home | History | Annotate | Download | only in openssh

Lines Matching refs:authctxt

81 auth_password(Authctxt *authctxt, const char *password)
83 struct passwd * pw = authctxt->pw;
84 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;
125 result = sys_auth_passwd(authctxt, password);
126 if (authctxt->force_pwchange)
133 warn_expiry(Authctxt *authctxt, auth_session_t *as)
143 if (authctxt->valid) {
167 sys_auth_passwd(Authctxt *authctxt, const char *password)
169 struct passwd *pw = authctxt->pw;
173 as = auth_usercheck(pw->pw_name, authctxt->style, "auth-ssh",
180 authctxt->force_pwchange = 1;
185 warn_expiry(authctxt, as);
192 sys_auth_passwd(Authctxt *authctxt, const char *password)
194 struct passwd *pw = authctxt->pw;
197 /* Just use the supplied fake password if authctxt is invalid */
198 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd;