From 03cd333095421ad7acec126138b96756da1b1a37 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Tue, 11 Sep 2007 08:41:36 +0000 Subject: [PATCH] dont load users if auth_type=any --- src/janitor.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/janitor.c b/src/janitor.c index f850413..4c81487 100644 --- a/src/janitor.c +++ b/src/janitor.c @@ -463,7 +463,8 @@ static void do_full_maint(int sock, short flags, void *arg) exit(0); } - loader_users_check(); + if (cf_auth_type >= AUTH_TRUST) + loader_users_check(); skip: evtimer_add(&full_maint_ev, &full_maint_period); -- 2.40.0