openldap does not work

kinux kinux at hknet.com
Tue Oct 12 18:33:28 PDT 2004


Hi,

i installed openldap on my FreeBSD box by Ports.

#cd /usr/ports/net/openldap22-server
#make install=20

then edit two lines in /usr/local/etc/openldap/slapd.conf=20
suffix "dc=3Dtest,dc=3Dexample,dc=3Dorg"=20
rootdn "cn=3DManager,dc=3Dtest,dc=3Dexample,dc=3Dorg"=20

#/usr/local/libexec/slapd=20
# sockstat -4 | grep 389=20
root slapd 187 9 tcp4 *:389 *:*=20
# netstat -a | grep ldap=20
tcp4 0 0 *.ldap *.* LISTEN=20
tcp6 0 0 *.ldap *.* LISTEN=20

while i try to test, it prompt me error..=20
# ldapsearch -x -b '' -s base '(objectclass=3D*)' namingContexts=20
ldap_bind: Can't contact LDAP server (-1)=20
# slaptest
config file testing succeeded
Segmentation fault (core dumped)

What's the problem?


More information about the freebsd-questions mailing list