Bug#717235: proftpd requests the whole passwd database at each login
Arthur de Jong
adejong at debian.org
Sun Sep 25 16:21:58 UTC 2016
On Tue, 2016-09-20 at 14:37 +0200, Hilmar Preuße wrote:
> <quote>
> An alternative is to do setpwent()/getpwent()/setpwent() which should
> abort the started search without wasting too much time trying to
> search LDAP entries in our environment.
> </quote>
>
> ...and this is exactly what has been implemented in upstream. ;-)
From a quick look that seems to be the implementation. I haven't done
any testing though but this should work in any case.
I still question the usefulness of setpwent()/getpwent() in the first
place as there is no guarantee that any resources opened for setpwent()
are used for other getpw{nam,uid}() calls.
--
-- arthur - adejong at debian.org - https://people.debian.org/~adejong --
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-proftpd-maintainers/attachments/20160925/4b7e65f3/attachment.sig>
More information about the Pkg-proftpd-maintainers
mailing list