Expand my Community achievements bar.

Applications for the 2024-2025 Adobe Experience Manager Champion Program are open!

Setting CQ-LDAP

Avatar

Level 4

Hi,

I have referred to the steps outlined in http://dev.day.com/docs/en/cq/current/core/administering/ldap_authentication.html to setup LDAP authentication.  However, my CQ instance is not starting up at all.  In the document, it says to update repository.xml and do the following

-Under <SecurityManager class="com.day.crx.core.CRXSecurityManager">, add <WorkspaceAccessManager  class="org.apache.jackrabbit.core.security.simple.SimpleWorkspaceAccessManager"/>

-Remove/Comment the LoginModule element

I downloaded the sample_ldap.config file and modified per my environment.  I updated quickstart.bat to use the modified ldap.config file.  When I attempt to start CQ, the error log has the following entries

*ERROR* [FelixStartLevel] org.apache.jackrabbit.core.DefaultSecurityManager Neither JAAS nor RepositoryConfig contained a valid configuration for com.day.crx

When it says Quickstart completed, and I try to go to http://localhost:4502, the error logs adds the following entries

org.apache.sling.engine.impl.SlingHttpContext handleSecurity: AuthenticationSupport service missing. Cannot authenticate request.

 

When I restore my repository.xml by uncommenting login module and removing <WorkspaceAccessManager  class="org.apache.jackrabbit.core.security.simple.SimpleWorkspaceAccessManager"/>, I can logon after I restart my CQ instance with the quickstart.bat file that still contains references to the ldap.config.  I think something is not right with the repository.xml and I may have misunderstood what is required to be done for the file.  Can anyone help?

Thank You.

0 Replies