Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   CentOS (http://www.linux-archive.org/centos/)
-   -   svn: Authorization failed (http://www.linux-archive.org/centos/700322-svn-authorization-failed.html)

Michael Hennebry 09-04-2012 04:59 AM

svn: Authorization failed
 
How do I set up a subversion repository so
that svn can use an svnserve running locally?
I own the repository.
svnserve -d -r ... runs as me.
svn mkdir -m 'make trunk' svn://localhost/redeye/trunk
fails with
svn: Authorization failed
There is no request for credentials.

Is anyone that can willing to share an example that works?

I'm running CentOP 6.2

[hennebry@67-61-185-5 reps]$ svn --version
svn, version 1.6.11 (r934486)
compiled Jun 23 2012, 00:28:25

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository access (RA) modules are available:

* ra_neon : Module for accessing a repository via WebDAV protocol using Neon.
- handles 'http' scheme
- handles 'https' scheme
* ra_svn : Module for accessing a repository using the svn network protocol.
- with Cyrus SASL authentication
- handles 'svn' scheme
* ra_local : Module for accessing a repository on local disk.
- handles 'file' scheme

[hennebry@67-61-185-5 reps]$ svnserve --version
svnserve, version 1.6.11 (r934486)
compiled Jun 23 2012, 00:28:25

Copyright (C) 2000-2009 CollabNet.
Subversion is open source software, see http://subversion.tigris.org/
This product includes software developed by CollabNet (http://www.Collab.Net/).

The following repository back-end (FS) modules are available:

* fs_base : Module for working with a Berkeley DB repository.
* fs_fs : Module for working with a plain file (FSFS) repository.

Cyrus SASL authentication is available.

--
Michael hennebry@web.cs.ndsu.NoDak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword." -- Lily
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

John Doe 09-04-2012 09:22 AM

svn: Authorization failed
 
From: Michael Hennebry <hennebry@web.cs.ndsu.nodak.edu>

> How do I set up a subversion repository so
> that svn can use an svnserve running locally?
> I own the repository.
> svnserve -d -r ... runs as me.
> svn mkdir -m 'make trunk' svn://localhost/redeye/trunk
> fails with
> svn: Authorization failed
> There is no request for credentials.

When I google: svnserve "svn: Authorization failed"
the first answer says to:
- edit svnserve.conf (password-db and auth-access)
- add users to password-db

Or you can have a look at the documentation...
http://svnbook.red-bean.com/en/1.0/ch06s03.html#svn-ch-6-sect-3.2

JD
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos

Michael Hennebry 09-04-2012 04:01 PM

svn: Authorization failed
 
On Tue, 4 Sep 2012, John Doe wrote:

> From: Michael Hennebry <hennebry@web.cs.ndsu.nodak.edu>
>
>> How do I set up a subversion repository so
>> that svn can use an svnserve running locally?
>> I own the repository.
>> svnserve -d -r ... runs as me.
>> svn mkdir -m 'make trunk' svn://localhost/redeye/trunk
>> fails with
>> svn: Authorization failed
>> There is no request for credentials.
>
> When I google: svnserve "svn: Authorization failed"
> the first answer says to:
> - edit svnserve.conf (password-db and auth-access)
> - add users to password-db
>
> Or you can have a look at the documentation...
> http://svnbook.red-bean.com/en/1.0/ch06s03.html#svn-ch-6-sect-3.2

Been there done that.
Forgot to save the new improved svnserve.conf .
'Twas using the old lousy version.

--
Michael hennebry@web.cs.ndsu.NoDak.edu
"On Monday, I'm gonna have to tell my kindergarten class,
whom I teach not to run with scissors,
that my fiance ran me through with a broadsword." -- Lily
_______________________________________________
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


All times are GMT. The time now is 07:20 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.