[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

SVN LDAP url from Tomcat Realm?

From: <hkatz_at_iscs-i.com>
Date: 2005-06-28 18:55:11 CEST

Hello,
I'm trying to convert over a tomcat realm into an LDAP url to plug into the
apache2 config. I've got:

<Realm className="org.apache.catalina.realm.JNDIRealm"
            debug="99"
            connectionURL="ldap://foo.com:389"
            userRoleName="maildomain"
            userPattern="CN={0},O=BIGFOO"
       />

and I'ld like to get:

<Location /repos>
   DAV svn
   SVNPath "T:/repository"
   AuthType Basic
   AuthName "subversion repository"

   # use LDAP
   AuthLDAPUrl "ldap://foo.com:389/cn={0},o=BIGFOO?maildomain"
# AuthUserFile "C:/Program Files/cygwin/etc/svn-auth-file"
   Require valid-user
</Location>

My platform is cygwin but I have file based authentication working.

I've reviewed the RFC 2255, jakarta/tomcat docs on the rolename in trying to
figure out the proper syntax. I keep causing apache2 to blow up so I'm not
quite there yet. Any URL tips?

Thanks,
Henry

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jun 28 19:07:15 2005

This is an archived mail posted to the Subversion Users mailing list.