You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Tsunam <ts...@gmail.com> on 2012/04/02 22:19:13 UTC

SVN ro proxy failures with Copy or Move functionality

Hi all,

At a bit of a loss and can't entirely figure out the cause of the issue.
>From the mirror users can create new files to be added, but the delete/copy
aspects fail when run through the proxy. If the users relocate to the
master and run the same command it works without issue.

So there's something amiss in the proxy configuration that is causing an
issue with how its passing activities over to the master.

Master is a Windows 2008 server running collabnet's subversion edge
1.6.17.2125.68.
Slave/proxy is a RHEL5 server running 1.6.11-7 on top of apache.

relevant section of the mirror:

<Location /svn/cm-sun>
 DAV svn
        SVNPath /var/satellite/repos/cm-sun
        SVNMasterURI http:/masterurl/svn/cm
        AuthName "Code Mirror Repository"
        AuthType Basic
        AuthzLDAPAuthoritative on
        AuthBasicProvider ldap
        AuthLDAPBindDN Domain\User
        AuthLDAPBindPassword password
        AuthLDAPUrl "ldap://dc1:3268
dc02:3268/DC=domain,DC=com?sAMAccountName?sub?(objectClass=user)" "NONE"
        require valid-user
        SVNPathAuthz on
        AuthUserFile "/git/admin-sun/Apache/conf/cm_authz.lst"
        AuthzSVNAccessFile "/git/admin-sun/Apache/conf/cm_authz.lst"
</Location>

Any help/suggestions would be appreciated.

Re: SVN ro proxy failures with Copy or Move functionality

Posted by Tsunam <ts...@gmail.com>.
Ryan Schmidt <subversion-2012a <at> ryandesign.com> writes:

> 
> 
> On Apr 2, 2012, at 15:19, Tsunam wrote:
> 
> > From the mirror users can create new files to be added, but the delete/copy
> > aspects fail when run through the proxy.
> 
> How do they fail? What error messages occur?
> 
> 

>From the client perspective in tortoisesvn they see that the commit fails, and
the following errors:

Changing file 'file' is forbidden by the server
Access to 'path/!revision/trunk/' forbidden.

Master server logs:
Access denied: 'user' COPY CM:path - cm-sun:path

Which just hit a cord with me. When the move from 1.4 to 1.6 was done on the
master, the repo was renamed from cm-sun to just cm. The proxy still was at the
/svn/cm-sun location even if the svnmaster is pointing correctly it appears that
it's trying to do the copy to the cm-sun repo.

So as a test I took the mirror location and made a new location that matches the
cm repository name on the master. user did the commit and it worked fine.

Having a few more of the dev's test the change,but appears that it was a simple
repository name difference between the master and slave and passing the proxies
repo name along for the ride.






Re: SVN ro proxy failures with Copy or Move functionality

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 2, 2012, at 15:19, Tsunam wrote:

> From the mirror users can create new files to be added, but the delete/copy
> aspects fail when run through the proxy.

How do they fail? What error messages occur?