LDAP配置和根连接

问题描述:

Mac上的Open LDAPLDAP配置和根连接

我是新来的Open LDAP,我google一下,发现最大OS预装有默认的Open LDAP。

我跟着这个教程MAC Ldap tutorial

以下是我的slapd.conf

####################################################################### 
# BDB database definitions 
####################################################################### 

database bdb 
suffix  "dc=my-domain,dc=com" 
rootdn  "cn=Manager,dc=my-domain,dc=com" 
# Cleartext passwords, especially for the rootdn, should 
# be avoid. See slappasswd(8) and slapd.conf(5) for details. 
# Use of strong authentication encouraged. 
rootpw  {SSHA}xEYpp/gcd4Mmf6j756LX4kBjSyYyZFz8 
# The database directory MUST exist prior to running slapd AND 
# should only be accessible by the slapd and slap tools. 
# Mode 700 recommended. 
directory /private/var/db/openldap/openldap-data 
# Indices to maintain 
index objectClass eq 

我现在用Jxplorere作为客户端。

我试过以下凭据,我不知道用户名是什么,所以我认为像其他应用程序可能是默认的用户名是根。和我使用的密码是我生成的。 enter image description here

当我试图登录时得到以下错误。

enter image description here

任何帮助表示赞赏。

BaseDN是后缀,用户名是rootDN。

+0

现在错误信息已更改为javax.naming.NameNotFoundException:[LDAP:error code 32 - No Such Object];剩余的名称'dc = my-domain,dc = com'有什么帮助? – 2014-11-03 18:40:32

+0

你一定错了,或者' - '需要转义。注意你不应该使用RootDN登录来做任何事情。 – EJP 2014-11-03 22:58:03