It seems Cryptonit binds with LDAPv2. But it should
bind with LDAPv3 to a server since LDAPv2 defines
different character set and protocol behaviour.
I think this causes this error:
Cryptonit: getentry.c:36: ldap_first_entry: Assertion
`chain != ((void *)0)' failed.
My /var/log/messages shows the following messages
generated by OpenLDAP 2.3.20:
Apr 5 11:48:35 nb2 leafnode[21464]: connect from
localhost (127.0.0.1) to localhost (127.0.0.1) (my
fqdn: nb2.stroeder.com)
Apr 5 11:53:30 nb2 slapd[10723]: conn=1 fd=18 ACCEPT
from IP=127.0.0.1:1040 (IP=0.0.0.0:1390)
Apr 5 11:53:30 nb2 slapd[10723]: connection_input:
conn=1 deferring operation: binding
Apr 5 11:53:30 nb2 slapd[10723]: conn=1 op=0 BIND
dn="" method=128
Apr 5 11:53:30 nb2 slapd[10723]: conn=1 op=0 RESULT
tag=97 err=2 text=historical protocol version
requested, use LDAPv3 instead
Apr 5 11:53:30 nb2 slapd[10723]: conn=1 op=1 SRCH
base="dc=stroeder,dc=de" scope=2 deref=0
filter="(objectClass=*)"
Apr 5 11:53:30 nb2 slapd[10723]: conn=1 op=1 SEARCH
RESULT tag=101 err=0 nentries=831 text=
Apr 5 11:53:50 nb2 slapd[10723]: conn=1 fd=18 closed
(connection lost)