RE: Scarab LDAP configuration
Ларионов Андрей <[email protected]> Thu, 24 Jul 2008 14:55:02 +0600
| Newsgroups | gmane.comp.java.scarab.user |
|---|---|
| Message-ID | <[email protected]> |
Look in this report http://www.solitone.org/scarab/issues/curmodule/100/tqk/0/template/IssueList.vm/action/Search?nextTemplate=ViewIssue.vm&eventSubmit_doGonext=foo&id=SCB2415&eventSubmit_doGonext=Jump+to+ID There is attached patch which provide auth for ActiveDirectory. Bu there are some sync hardcode, which must be ommited. ________________________________ From: Chang, Jay [mailto:[email protected]] Sent: Tuesday, July 22, 2008 2:29 AM To: [email protected] Subject: Scarab LDAP configuration 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?(objectClass=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