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 - [email protected] - https://people.debian.org/~adejong --

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to