Scarab LDAP configuration

"Chang, Jay" <[email protected]> Mon, 21 Jul 2008 15:28:59 -0500
Newsgroups gmane.comp.java.scarab.user
Message-ID <[email protected]>
Hi All,

 

Does anyone have configured LDAP to work for Scarab?  (I am testing with
the trunk version of 0.22).

It does not work for me.

 

In the Subversion application we use the following LDAP object
attributes for Apache server:

        AuthLDAPURL
ldap://mycomldapserver:389/OU=Corp,DC=xxxx,DC=yyyy?sAMAccountName?sub?(o
bjectClass=user)

        AuthLDAPBindDN "subversion_ldap"

        AuthLDAPBindPassword '******'

 

From the about info, I set jaas.conf to be:

Scarab {

   org.tigris.scarab.services.security.ldap.LdapLoginModule required
host="//mycomldapserver:389" usernamefield="sAMAccountName"
basedn="ou=Corp,dc=xxxx,dc=yyyy";

};

 

I realized that my company LDAP server requires LDAP binding and
password, but I cannot provide this data to jaas.conf.  Here are
questions that I have:

            (1) Looks like we have an Active Directory directory server,
would this work with Scarab LDAP configuration?

            (2) If Scarab LDAP works with Active Directory, how do I
pass binding credential?

            (3) How do I debug the LDAP connection?  I could not find
any logging info to find out the failed connection. 

 

I appreciate any helps you can provide, especially the contributor of
this SCARAB LDAP module.

 

Thanks,

Jay Chang