Over the last few days, I've burnt untold hours trying to get LDAP configured with CRX 2.3 (Granite 12.2.2 - the version of CRX 2.3 that comes "ADEP"-branded and is bundled with LiveCycle ES3) with no success. Thankfully I'm ahead on my overall schedule, otherwise I'd have put my head through a wall or something. If anybody out there has successfully configured CRX 2.3 to work with LDAP through Active Directory, please tell me how. I've never configured JAAS or LDAP or Active Directory before so there may well be a simple answer to my question (here's hoping there is). It's a great opportunity for someone out there to make a very grateful developer's day.
I've followed the instructions at the main CRX docs page (http://dev.day.com/docs/en/crx/current/administering/ldap_authentication.html) and searched the internet for other tips and tricks and nothing seems to work. At one point, I did get DEBUG-level logging to indicate that the ldap_login.config file was being loaded, but that was probably 10 attempted configurations and three clean CRX re-installs ago. I've tried setting up a proxy between CRX and the LDAP server (as indicated on the docs site linked above) and nothing ever came through from CRX.
I'm running on Windows machine and have tried numerous variations on the "-Djava.security.auth.login.config=C:/Adobe/CRX/crx-quickstart/conf/ldap_login.conf" Java command-line argument. Is it forward slashes or back-slashes? Relative or full path? At this point, I'd like to think I've tried every possible variation and at this point I can barely see straight.
Here's my (latest) <Security/> element from repository.xml:
class: FQN of class implementing the JackrabbitSecurityManager interface
<param name="usersPath" value="/home/users"/>
<param name="groupsPath" value="/home/groups"/>
<param name="defaultDepth" value="1"/>
class: FQN of class implementing the AccessManager interface
And the contents of my ldap_login.conf file:
host="<our development Active Directory LDAP server>"
The current exception looks like this:
05.09.2012 20:23:30.387 *ERROR* [FelixStartLevel] org.apache.jackrabbit.core.RepositoryImpl failed to start Repository: Neither JAAS nor RepositoryConfig contained a valid configuration for com.day.crx javax.jcr.RepositoryException: Neither JAAS nor RepositoryConfig contained a valid configuration for com.day.crx
at org.apache.jackrabbit.core.UserPerWorkspaceSecurityManager.init(UserPerWorkspaceSecurityM anager.java:107)
Thanks a lot for any help you can provide.