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

RE: Svnserve, Ankhsvn, Authentication

From: Arild Fines <arild.fines_at_broadpark.no>
Date: 2004-07-05 09:29:28 CEST

Amir Kolsky wrote:
> Hi all! This is my first time on this list!
>
> I have set up a Subversion repository on a locally
> networked machine using svnserve.
>
> I have managed to connect to the repository by enabling
> anonymous read/write at the configuration file.
>
> I would like to be able to have the users' name appear in
> the svn log, so I tried to add USERNAME = PASSWORD pairs in
> the [USERS] section of the configuration file.

The svnserve configuration file does not have such a section. What it does
have is an example of what a separate users file should look like. IE, you
put the path to the password file in svnserve.conf, and put the actual user
information in that file.

In svnserve.conf
...
[general]
password-db=password.txt
...

Then in password.txt in the same directory:
[users]
joe=j8976kh98
foo=bar
user=password

You're not the first to be confused by this ;-) Maybe one should look at the
wording in svnserve.conf?

>
> We are using Ankhsvn and we can't commit becuase of the
> authorization problem and there's no way to enter the user
> name and password. I looked at the Ankhsvn configuration
> file - no good...

Ankh will only prompt if challenged by the server, as it should.

--
Arild
AnkhSVN: http://ankhsvn.tigris.org
Blog: http://ankhsvn.com/blog
IRC: irc://irc.freenode.net/ankhsvn
"Weaseling out of things is good. It's what separates us from the other
animals....except weasels." -- Homer Simpson
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jul 5 09:32:07 2004

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.