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

Re: lap authentication with AuthzSVNAccessFile authorization

From: Mark Phippard <MarkP_at_softlanding.com>
Date: 2005-05-27 14:58:09 CEST

I think you sent this to the wrong mailing list.
users@subversion.tigris.org would be better.

I am doing pretty much the same thing as you, and it works. I would
suggest that you allow all users rw access and then do a commit. Then,
look at what value is placed in the Author field for the commit. That
would be the value that you would need to use in your Authz access file.
If the value is blank, then you must need to some Apache setting to have
it make the username visible. I do not recall having to do anything like
this.

Mark

"Richard Stingel" <STINGEL@gwm.sc.edu> wrote on 05/27/2005 08:52:48 AM:

> 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

_____________________________________________________________________________
Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
_____________________________________________________________________________
Received on Fri May 27 22:58:09 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.