- 论坛徽章:
- 0
|
我在freebsd上用ports安裝了openldap..
改了slapd.conf
suffix "dc=test,dc=example,dc=org"
rootdn "cn=Manager,dc=test,dc=example,dc=org"
之后运行
su root -c /usr/local/libexec/slapd
看到slapd是运行了..
# sockstat -4 | grep 389
root slapd 187 9 tcp4 *:389 *:*
# netstat -a | grep ldap
tcp4 0 0 *.ldap *.* LISTEN
tcp6 0 0 *.ldap *.* LISTEN
但是当用ldapsearch时就不行了..
# ldapsearch -x -b '' -s base '(objectclass=*)' namingContexts
ldap_bind: Can't contact LDAP server (-1)
这是什么问题??
我是看这里做的..
http://www.openldap.org/doc/admin22/quickstart.html |
|