Lines Matching defs:authctxt
257 auth_info(Authctxt *authctxt, const char *fmt, ...)
262 free(authctxt->info);
263 authctxt->info = NULL;
266 i = vasprintf(&authctxt->info, fmt, ap);
269 if (i < 0 || authctxt->info == NULL)
274 auth_log(Authctxt *authctxt, int authenticated, int partial,
280 if (use_privsep && !mm_is_monitor() && !authctxt->postponed)
285 !authctxt->valid ||
286 authctxt->failures >= options.max_authtries / 2 ||
290 if (authctxt->postponed)
301 authctxt->valid ? "" : "invalid user ",
302 authctxt->user,
306 authctxt->info != NULL ? ": " : "",
307 authctxt->info != NULL ? authctxt->info : "");
308 free(authctxt->info);
309 authctxt->info = NULL;
312 if (authenticated == 0 && !authctxt->postponed &&
316 record_failed_login(authctxt->user,
320 sys_auth_record_login(authctxt->user,
325 if (authenticated == 0 && !authctxt->postponed)
332 auth_maxtries_exceeded(Authctxt *authctxt)
336 authctxt->valid ? "" : "invalid user ",
337 authctxt->user,