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

(ITS#8637) OpenLDAP crashing when defining multiple olcDbURI for chaining



Full_Name: Alan Griffiths
Version: 2.4.44
OS: Centos 7.3
URL: https://pastebin.com/CaVGpfKj
Submission from: (NULL) (86.22.17.96)


Adding multiple entries to olcDbURI causes slapd to crash when the ref is first
followed with: -

8ef6698 conn=1002 op=1 ldap_chain_op:
ref="ldap://aws-mldap-01.aws/uid=test1,ou=people,dc=abu,dc=inmarsat,dc=com"; ->
"ldap://aws-mldap-01.aws";
slapd: chain.c:227: ldap_chain_uri_cmp: Assertion `((&li2->li_bvuri[ 1
])->bv_val == ((void *)0))' failed.
Aborted

This appears to be the same issue as reported here 

http://www.openldap.org/lists/openldap-technical/201409/msg00056.html

but in a more recent version. I can re-create in 2.4.40 and 2.4.44.

Link to full debug output is provided.