timeout in LDAP access

Denis Excoffier cygwin@Denis-Excoffier.org
Sat Jul 12 13:39:00 GMT 2014


On 2014年07月09日 12:12 Corinna Vinschen wrote:
>>>> I have encountered this case in real life. The domain admins have set
>> the trustPosixOffset of the secondary domain to zero. This value is therefore
>> never recorded and the cldap->open occurs again and again.
>> Ouch. Why on earth are admins doing this? There's no way to
> workaround this reliably.
>Reliably i don’t know. I’ve modified uinfo.cc in order that the special value
for td->PosixOffset is no longer 0. Taking into account that LDAP_SERVER_DOWN
is now recognized, my ‘getent passwd’ executes gracefully in 40 minutes
(instead of 60) and ‘getent group’ in 25 minutes (instead of 90). Also quicker
is ‘mkpasswd -d secondary_domain’ of course. Patch attached.
Regards,
Denis Excoffier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: posixoffset.patch
Type: application/octet-stream
Size: 1877 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140712/65a03703/attachment.obj>
-------------- next part --------------
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /