Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Oct 2004 09:33:25 +0800
From:      "kinux" <kinux@hknet.com>
To:        <freebsd-questions@freebsd.org>
Subject:   openldap does not work
Message-ID:  <00cd01c4b0c4$a29b93c0$4c22fea9@winxp>

next in thread | raw e-mail | index | archive | help
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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?00cd01c4b0c4$a29b93c0$4c22fea9>