Bug#717235: proftpd requests the whole passwd database at each login
Hilmar Preuße
hille42 at web.de
Mon Sep 26 08:11:26 UTC 2016
tags 717235 + pending
stop
Am 25.09.2016 um 18:21 schrieb Arthur de Jong:
> On Tue, 2016-09-20 at 14:37 +0200, Hilmar Preuße wrote:
Hi Arthur,
>> <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.
>
Thanks for confirmation! Patch is in git, will be in next upload. Due to
#820984 (still open) I can't give a time frame for upload.
> 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.
>
Hilmar
--
http://www.hilmar-preusse.de.vu/ #206401 http://counter.li.org
More information about the Pkg-proftpd-maintainers
mailing list