[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#6282) Assertion failure in openldap clients when server is frozen and limits are in place



Full_Name: Guillaume Rousse
Version: 2.4.17
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.55.250.67)


With a frozen server, the following client configuration make ldapsearch fails
an assertion:
BASE    dc=futurs,dc=inria,dc=fr
URI	ldap://ldap.saclay.inria.fr ldap://ldap.lille.inria.fr
TLS_CACERTDIR	/etc/pki/tls/rootcerts
TLS_REQCERT	demand
NETWORK_TIMEOUT 2
TIMEOUT 2
TIMELIMIT 2

[rousse@stalingrad Desktop]$ ldapsearch -x
ldapsearch: error.c:272: ldap_parse_result: Assertion `r != ((void *)0)'
failed.
Abandon

Such error prevent the client to fallback on second server. And a graceful exit
would be more appropriate.

A network capture of the client-server exchange is available at
http://www.zarb.org/~guillomovitch/out