我是相当新的LDAP,我试图删除一个LDAP对象。 (我还没有设置SSL。)我使用该命令
ldapdelete -x 'dc=example,dc=com' 'cn=AnUser'
它给了我错误
ldap_delete: Strong(er) authentication required (8) additional info: modifications require authentication
这是否意味着我不能使用简单的身份validation删除? (我可以删除使用ldapscripts,但我真的只想使用ldap-utils)
编辑:
I tried doing and ldapdelete -x -W 'dc=example,dc=com' 'cn=AnUser'
但它给了我一个ldap_bind: Invalid credentials (49)错误,但我敢肯定密码是正确的。
我认为你想要的语法是:
ldapdelete -xW -D'你的账号dn''删除对象'