Issue

When you try to import your LDAP users to CQ, you get an error similar to the following:

import failed: java.lang.IllegalArgumentException: Exact Label must not be empty. java.lang.IllegalArgumentException: Exact Label must not be empty. at com.day.cq.util.Text.validateLabel(Text.java:1759) at com.day.cq.jcr.adapter.TicketAdapter$PageCreator.run(TicketAdapter.java:3357) at com.day.cq.jcr.adapter.TicketAdapter.runLocked(TicketAdapter.java:3231) at com.day.cq.jcr.adapter.TicketAdapter.createPage (TicketAdapter.java:2233) at com.day.cq.jcr.adapter.TicketAdapter.createPage(TicketAdapter.java:881) at com.day.cq.jcr.adapter.TicketAdapter.createPage(TicketAdapter.java:872) at com.day.cq.delivery.DeliveryTicketWrapper.createPage(DeliveryTicketWrapper.java:111) at com.day.cq.contentbus.importer.ldap.LdapImporter.createFolder(LdapImporter.java:244)

Solution

In /config/repository/ldapdefaultfinder, check the section under to see whether you correctly set the parameters from LDAP. For example, if the user LDAP object does not have a UID, and you set the User ID to use UID, this error appears in error.log. Make sure that you are using the correct matching between your LDAPuser object and the CQ user page. You can set CQ authentication logger to DEBUG and analyze the details.

Additional information

When this error occurs, it is likely that the LDAP configuration file isn't configured properly.

이 작업에는 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License의 라이센스가 부여되었습니다.  Twitter™ 및 Facebook 게시물은 Creative Commons 약관을 적용받지 않습니다.

법적 고지 사항   |   온라인 개인 정보 보호 정책