14 May
2013
14 May
'13
3:21 a.m.
On 05/13/2013 08:03 PM, Edgar Fuß wrote:
registered a pthread_atfork handler, which intended to call ldap_drop_conenction() from libldap, but, because of PLT load-time-linking, in fact ended up calling ldap_drop_connection() from libldap_r. Boom (inside fork()).
Oh yuck... NSS really is a disaster - "dynload in arbitrary linked-libraries every time I lookup a uid->user mapping, why sure!". You might find that running nscd helps, as it'll confine nss_ldap to the nscd process.