【问题标题】:Ldap configuration and root connectionldap配置和root连接
【发布时间】:2014-11-03 15:57:09
【问题描述】:

Mac:打开 Ldap

我是 Open LDAP 的新手,我 google 了一下,发现 max 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 作为客户端。

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

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

感谢任何帮助。

【问题讨论】:

    标签: ldap openldap ldap-client


    【解决方案1】:

    BaseDN是后缀,用户名是rootDN。

    【讨论】:

    • 现在错误信息更改为 javax.naming.NameNotFoundException: [LDAP: error code 32 - No such Object];剩余名称 'dc=my-domain,dc=com' 有什么帮助吗?
    • 你一定打错了,或者'-'需要转义。注意:您不应该使用 RootDN 登录。
    猜你喜欢
    • 2016-04-13
    • 2016-07-18
    • 1970-01-01
    • 2014-09-04
    • 1970-01-01
    • 2017-06-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多