ldap - 无法在 Apache Directory Studio 中为 LDAP 与 AEM 集成创建新条目

标签 ldap aem

出现以下错误:

Error while creating entry - [LDAP: error code 67 - NOT_ALLOWED_ON_RDN: failed for MessageType : ADD_REQUES java.lang.Exception: [LDAP: error code 67 - NOT_ALLOWED_ON_RDN: failed for MessageType : ADD_REQUEST Message ID : 15 Add Request : Entry dn[n]: cn=bella+uid=bella+userPassword=54321,dc=example,dc=com objectClass: person objectClass: top objectClass: uidObject uid: bella sn: mcdonald cn: bella userPassword: 0x35 0x34 0x33 0x32 0x31 : ERR_62 Entry cn=bella+uid=bella+userPassword=54321,dc=example,dc=com does not have the userPassword attributeType, which is part of the RDN";] at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkResponse(DirectoryApiConnectionWrapper.java:1374) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.access$9(DirectoryApiConnectionWrapper.java:1342) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper$6.run(DirectoryApiConnectionWrapper.java:958) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.runAndMonitor(DirectoryApiConnectionWrapper.java:1269) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.checkConnectionAndRunAndMonitor(DirectoryApiConnectionWrapper.java:1205) at org.apache.directory.studio.connection.core.io.api.DirectoryApiConnectionWrapper.createEntry(DirectoryApiConnectionWrapper.java:980) at org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:225) at org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:124) at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:116) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)

[LDAP: error code 67 - NOT_ALLOWED_ON_RDN: failed for MessageType : ADD_REQUEST Message ID : 15 Add Request : Entry dn[n]: cn=bella+uid=bella+userPassword=54321,dc=example,dc=com objectClass: person objectClass: top objectClass: uidObject uid: bella sn: mcdonald cn: bella userPassword: 0x35 0x34 0x33 0x32 0x31 : ERR_62 Entry cn=bella+uid=bella+userPassword=54321,dc=example,dc=com does not have the userPassword attributeType, which is part of the RDN";]

我已经尝试过 6.1 和 6.3 版本的 AEM,但仍然无法正常工作。

最佳答案

错误信息说:

您的客户端正在尝试使用 RDN cn=bella+uid=bella+userPassword=54321 添加条目,但该条目本身不包含值为 userPassword: 54321< 的属性.

无论您使用什么 LDAP 客户端,这都是一场可怕的安全噩梦!

您绝对不能将 userPassword 放在 RDN 中,因为它对于允许搜索用户条目的任何 LDAP 客户端都是可读的。

关于ldap - 无法在 Apache Directory Studio 中为 LDAP 与 AEM 集成创建新条目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51337611/

相关文章:

javascript - 在 Shiny 中获取响应头变量

PHP LDAP 操作属性查询

python - 如何在 Python 中使用 LDAP 将新用户添加到组中?

authentication - CQ 如何验证每个请求?

java - 当对象名称中包含单引号或双引号时,如何为 java ldap 搜索 api 构造搜索过滤器

java - 如何使 LDAP 过滤器在 OU 的三个级别中查找值

aem - 如何避免在 CQ 中页面的所有链接中硬编码 .html 扩展名?

workflow - 我可以在 CQ5 中安排工作流程吗?

osgi - 如何在 AEM 中跨多个 OSGI 服务共享配置

url-rewriting - Sling 映射是否可以限制为带有主机 header 的请求