[Date Prev][Date Next]
Re: Assertion triggered in liblber if LDAP server is down (ITS#837)
On Mon, Oct 16, 2000 at 01:43:54PM -0700, Kurt D. Zeilenga wrote:
> such as appropriate error checking? ldap_adandon() should
> not be called unless ldap_simple_bind() (or other request
> generating call) was successful. And if any routine returned
> LDAP_SERVER_DOWN or other such error, then about the only
> sensible call to make is ldap_unbind().
I did not say it is done right in nss_ldap, I just wanted to say that
OpenLDAP should handle it and should not abort the application.
> Stack trace?
It would not help, the call path was completely legal. Just ld->ld_sb->sb_iod
was not initialized during the unsuccessful bind operation and ldap_unbind()
tried to send data without checking it.
Gabor Gombas Eotvos Lorand University
E-mail: email@example.com Hungary