lists.arthurdejong.org
RSS feed

Re: [nssldap] Solaris 10 update 5 - nss_ldap makes nscd dump core

[Date Prev][Date Next] [Thread Prev][Thread Next]

Re: [nssldap] Solaris 10 update 5 - nss_ldap makes nscd dump core




Matthew Hardin wrote:
> 
> 
> On Jan 12, 2010, at 2:51 AM, Howard Wilkinson wrote:
> 
>> Having got the Solaris stuff built I am still seeing some stability  
>> issues. A major one seems to be that the new Solaris code does not  
>> support the NSS_TRYAGAIN/ERANGE interface feature to signal buffer  
>> too small. The code seems to just get into a TRYAGAIN loop - do you  
>> have any information that would suggest whther the interface change  
>> has preserved this behaviour.
> 
> It is likely that, when NSS_TRYAGAIN/ERANGE is returned, the buffer size
> is not increased in the following calls into nss_ldap, resulting in the
> TRYAGAIN loop.
> 
> We adjusted NGROUPS to 64. This constant affects the request buffer size,
> LDAP_NSS_BUFLEN_GROUP. Lowering the request buffer size seems to move
> things forward.
> 
> Regards,
> 
> Ted C. Cheng
> tedcheng@symas.com