Lines Matching refs:authctxt
275 format_method_key(Authctxt *authctxt) in format_method_key() argument
277 const struct sshkey *key = authctxt->auth_method_key; in format_method_key()
278 const char *methinfo = authctxt->auth_method_info; in format_method_key()
315 Authctxt *authctxt = (Authctxt *)ssh->authctxt; in auth_log() local
320 if (use_privsep && !mm_is_monitor() && !authctxt->postponed) in auth_log()
325 !authctxt->valid || in auth_log()
326 authctxt->failures >= options.max_authtries / 2 || in auth_log()
330 if (authctxt->postponed) in auth_log()
337 if ((extra = format_method_key(authctxt)) == NULL) { in auth_log()
338 if (authctxt->auth_method_info != NULL) in auth_log()
339 extra = xstrdup(authctxt->auth_method_info); in auth_log()
346 authctxt->valid ? "" : "invalid user ", in auth_log()
347 authctxt->user, in auth_log()
356 if (authenticated == 0 && !authctxt->postponed && in auth_log()
360 record_failed_login(ssh, authctxt->user, in auth_log()
364 sys_auth_record_login(authctxt->user, in auth_log()
370 if (authenticated == 0 && !authctxt->postponed) in auth_log()
379 Authctxt *authctxt = (Authctxt *)ssh->authctxt; in auth_maxtries_exceeded() local
383 authctxt->valid ? "" : "invalid user ", in auth_maxtries_exceeded()
384 authctxt->user, in auth_maxtries_exceeded()