ldap_bind:凭证无效(49)

我有一个问题与LDAPconfiguration:

$ ldapadd -x -D 'cn=Manager,dc=ircoms,dc=com' -f file.ldif -W Enter LDAP Password: ldap_bind: Invalid credentials (49) 

我删除了/var/lib/ldap的包含,然后执行

ldapadd -x -D'cn = Manager,dc = ircoms,dc = com'-f file.ldif -W

现在我得到这个错误:

 $ ldapadd -x -D 'cn=Manager,dc=ircoms,dc=com' -f file.ldif ldap_bind: Server is unwilling to perform (53) additional info: unauthenticated bind (DN with no password) disallowed 

我在Fedora 15上工作。

invalid credentials表明:1)您键入的密码不正确;或者2)服务器configuration为即使在其他一些问题阻止了身份validation(例如,目录数据库中不存在授权标识)时仍返回invalid credentials 。 在第二个示例中,您尝试使用包含专有名称但没有密码的绑定请求进行身份validation,而目录服务器不允许该名称。