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

svnserve apparently trying to authenticate even with svn+ssh

From: Noah Spurrier <noah_at_noah.org>
Date: 2007-10-23 03:08:01 CEST

Someone (not me :-) upgraded our svn binaries to 1.4.4 today and now everyone
is getting this error when they try to update or commit:

     svn: Not authorized to open root of edit operation

OK, so that seems like it might be a problem authentication with svnserve,
but the problem is that everyone in the office uses svn+ssh. As I understand
it svn+ssh starts "svnserve -t" on the server which bypasses authentication
(considered pre-authehenticated). I do use svnserve with authz so that some
contractors can get access to only certain parts of the repository. On a
hunch I edited the svnserve.conf file and I commented out every line. And
that worked! Now, everyone can update and commit via svn+ssh. The
svnserve.conf file looks like this now:

     #[general]
     #password-db = passwd
     #realm = employees and contractors only.
     #anon-access = none
     #auth-access = write
     #authz-db = authz

The only problem is that this makes no sense. Everyone is using svn+ssh, so
svnserve shouldn't even check authentication even for newer versions of SVN.

The repository was originally created with svnadmin 1.3.2. The svn binaries
appear to have been upgraded to 1.4.4. I'm not totally sure this is due to
the svn binary upgrade. I was not involved in the upgrade, but I'm the one
fixing it. It's possible that someone touched the svnserve.conf file, but I
don't think so.

-- 
  Noah Spurrier | email: noah_at_noah.org | http://www.noah.org/wiki/engineering 
-------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Oct 23 03:08:30 2007

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

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