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

segfault with back-ldap



Hi all,

I try to build an OpenLDAP server with ldap proxy support. Backend bdb works 
fine, but the slapd always segfaults when I query the remote slapd and do not 
restrict the arguments. Both servers are running 2.1.22, ldapprox is a redhat 
7.3, the darkstar is a solaris 2.6.

this command is ok:
ldapsearch -x -H ldaps://ldapprox.firma.de -b ou=darkstar,o=firma,c=de 
uid=root uid cn shadowLastChange loginShell uidNumber gidNumber 
homeDirectory gecos

this command segfaults the server:
ldapsearch -x -H ldaps://ldapprox.firma.de -b ou=darkstar,o=firma,c=de 
uid=root

debug output of server:
# slapd -u ldap -h "ldap:/// ldaps:///" -f 
/opt/openldap/etc/openldap/slapd.conf -d 4
daemon_init: ldap:/// ldaps:///
daemon: socket() failed errno=97 (Address family not supported by 
protocol)
daemon: socket() failed errno=97 (Address family not supported by 
protocol)
bdb_initialize: Sleepycat Software: Berkeley DB 4.1.25: (December 19, 
2002)
bdb_db_init: Initializing BDB database
bdb_db_open: ou=UNIX,o=firma,c=de
slapd starting
connection_get(13)
connection_get(13)
connection_get(13)
send_ldap_result: err=0 matched="" text=""
connection_get(13)
deferring operation
SRCH "ou=darkstar,o=firma,c=de" 2 0    0 0 0
    filter: (uid=root)
    attrs:
request 1 done
ldap_back_dn_massage: converted "ou=darkstar,o=firma,c=de" to 
"o=firma,c=de"
ldap_back_dn_massage: converted "uid=root,ou=People,o=firma,c=de" to 
"uid=root,o
u=People,ou=darkstar,o=firma,c=de"
request 2 done
connection_get(13)
Segmentation fault

Am I doing sth. wrong?

Kind regards,
Andreas Rother