Ldap配置和根连接

Ldap配置和根连接,ldap,openldap,ldap-client,Ldap,Openldap,Ldap Client,开放式Ldap 我是新开LDAP的,我在谷歌上搜索了一下,发现max OS安装了默认的OpenLDAP 我遵循了这个教程 下面是我的slapd.conf ####################################################################### # BDB database definitions ####################################################################### d

开放式Ldap

我是新开LDAP的,我在谷歌上搜索了一下,发现max OS安装了默认的OpenLDAP

我遵循了这个教程

下面是我的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作为客户端

我尝试了以下凭据,我不知道用户名是什么,所以我假设像其他应用一样,默认用户名可能是root。我使用的密码是我生成的。

当我尝试登录时,出现以下错误


非常感谢您的帮助。

BaseDN是后缀,用户名是rootDN。

现在错误消息更改为javax.naming.NameNotFoundException:[LDAP:错误代码32-无此类对象];剩余名称“dc=my domain,dc=com”有任何帮助吗?您一定是输入错误,m或者可能需要转义“-”。注意:您不应该使用RootDN登录进行任何操作。