我正在寻找一种方法来更新用户的条目 DN:
dn: cn=Super,ou=Prod,ou=clients,dc=test,dc=com
对此:
dn: uid=SuperUID,ou=Prod,ou=clients,dc=test,dc=com
鉴于我的目录有多个 ou,并且有些已经在其 DN 中使用 UID 属性,所以我只需要更新这个 ou。另外,我的 ldap 服务器正在运行 openDJ。
我一直在这里和其他地方搜索,但找不到任何有效的答案。
我不断收到此错误:
Result Code: 65 (Object Class Violation)
Additional Information: The modify DN operation for entry [...] cannot be performed because the change would have violated the server schema: Entry [...] violates the Directory Server schema configuration because it is missing attribute cn which is required by objectclass person
我理解(嗯,有点)这个错误告诉我什么,但我找不到解决这个问题的方法......
谢谢