Heiko Schlittermann <h...@schlittermann.de> (Do 25 Feb 2021 10:36:21 CET): > > within a small timeframe returns a subset of the local users only (the > say count(); I suppose the following would fix the issue: (not tested yet)
diff --git a/src/auth/userdb-passwd.c b/src/auth/userdb-passwd.c index 70b9969f6..4682dc873 100644 --- a/src/auth/userdb-passwd.c +++ b/src/auth/userdb-passwd.c @@ -208,6 +208,7 @@ static int passwd_iterate_deinit(struct userdb_iterate_context *_ctx) cur_userdb_iter_to = timeout_add(0, passwd_iterate_next_timeout, NULL); } + endpwent(); return ret; } -- Heiko
signature.asc
Description: PGP signature