Lines Matching refs:authctxt
82 auth_password(Authctxt *authctxt, const char *password) in auth_password() argument
84 struct passwd * pw = authctxt->pw; in auth_password()
85 int result, ok = authctxt->valid; in auth_password()
99 int ret = auth_krb5_password(authctxt, password); in auth_password()
117 return (sshpam_auth_passwd(authctxt, password) && ok); in auth_password()
122 if (auth_shadow_pwexpired(authctxt)) in auth_password()
123 authctxt->force_pwchange = 1; in auth_password()
126 result = sys_auth_passwd(authctxt, password); in auth_password()
127 if (authctxt->force_pwchange) in auth_password()
134 warn_expiry(Authctxt *authctxt, auth_session_t *as) in warn_expiry() argument
144 if (authctxt->valid) { in warn_expiry()
168 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument
170 struct passwd *pw = authctxt->pw; in sys_auth_passwd()
174 as = auth_usercheck(pw->pw_name, authctxt->style, "auth-ssh", in sys_auth_passwd()
181 authctxt->force_pwchange = 1; in sys_auth_passwd()
186 warn_expiry(authctxt, as); in sys_auth_passwd()
193 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument
195 struct passwd *pw = authctxt->pw; in sys_auth_passwd()
199 char *pw_password = authctxt->valid ? shadow_pw(pw) : pw->pw_passwd; in sys_auth_passwd()