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.

Юридична інформація   |   Політика мережевої конфіденційності