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

lap authentication with AuthzSVNAccessFile authorization

From: Richard Stingel <STINGEL_at_gwm.sc.edu>
Date: 2005-05-27 14:52:48 CEST

I'm using Subversion 1.2 on Windows XP.

Is it possible to set up authentication against ldap and use
AuthzSVNAccessFile for authorization?

I've successfully configured authentication against ldap, but can't get
authorization to work properly.

Here is what I have for location in httpd.conf:
*----------------------------------------------------
   #Test for ldap access
    DAV svn
    SVNParentPath D:\svnLocalRepository
    
    #Access control policy
    AuthzSVNAccessFile authzvnAccess

    #Try anonymous access first, resort to ldap if necessary
    Satisfy Any
    Require valid-user

    #Trying this...
    AuthLDAPEnabled on
    AuthLDAPAuthoritative on
    
    AuthType Basic
    AuthName "Subversion Repository"
    AuthLDAPURL ldap://my.ldap.server/ou=csd,ou=columbia,o=usc?cn?sub?(objectClass=user)
    require valid-user
*---------------------------------------------------

and this is what I have in authzvnAccess:
*-----------------------------------------------
[/]
* = r

[/svn/MyNewRepository/]
myuser = rw

[MyNewRepository:/svn/MyNewRepository]
myuser = rw

[groups]
myNewRepository-developers = myuser

[MyNewRepository:/svn/MyNewRepository]
@myNewRepository-developers = rw
*---------------------------------------------------

I've tried several variations for authorization, but unless I allow rw for everyone
my authorization always fails.

Thanks for any help you can offer.
Richard
Received on Fri May 27 22:52:48 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.