You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Crucius, Wesley" <WC...@sandc.com> on 2004/04/01 22:47:41 UTC

Authentication problems

Ok, I'm begging for help now... I have two 1.0.0 repositories served up
via apache on Win2k and can access them fine several different ways
(security-wise).  What I can't get to work is the [repository:path]
mechanism in the AuthzSVNAccessFile file that should allow me to specify
different security policies for each of my two repos.

I have the following pertinent configuration items:

I have two repositories, located in:
C:\Program Files\Apache Group\Apache2\svn\repos1
C:\Program Files\Apache Group\Apache2\svn\repos2

These folders each contain conf, dav, db, hooks, locks, and format as
they were created with 
'svnadmin create "C:\Program Files\Apache Group\Apache2\svn\repos1"'
AND
'svnadmin create "C:\Program Files\Apache Group\Apache2\svn\repos2"'

Part of httpd.conf:
# Subversion Repository Location setup
<Location /svn>
    DAV svn
    SVNParentPath svn

    AuthType Basic
    AuthName "Subversion Repository"
    AuthUserFile etc/svn-auth-file                     

    AuthzSVNAccessFile etc/svn-access-policies
    Require valid-user
</Location>

All of svn-auth-file
[groups]
developers = user1, user2
testers = user3
manuf = user4

#[/]          # This allows rw access to either repository, I don't want
that
[repos1:/]    # This won't allow access to either repository
@developers=rw
@testers=r
@manuf = 

#[/]          # This allows rw access to either repository, I don't want
that
[repos2:/]    # This won't allow access to either repository
@developers=r
@testers=rw
@manuf = r


Can anybody tell me what's wrong with '[repos1:/]', or have I found a
legit bug?

Thanks,
Wes Crucius
S&C Electric, Inc.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Authentication problems

Posted by John Szakmeister <jo...@szakmeister.net>.
On Thursday 01 April 2004 17:47, Crucius, Wesley wrote:
> Ok, I'm begging for help now... I have two 1.0.0 repositories served up
> via apache on Win2k and can access them fine several different ways
> (security-wise).  What I can't get to work is the [repository:path]
> mechanism in the AuthzSVNAccessFile file that should allow me to specify
> different security policies for each of my two repos.

The first problem is that you're using 1.0.0.  I believe [repository:path] 
feature didn't show up until 1.0.1.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Authentication problems

Posted by Ben Collins-Sussman <su...@collab.net>.
On Thu, 2004-04-01 at 16:47, Crucius, Wesley wrote:

>     SVNParentPath svn
>     AuthzSVNAccessFile etc/svn-access-policies

These two directives don't work together in svn 1.0.0.
Upgrade to 1.0.1.



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org