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

Re: Suggestion to enhance svnserve-section of the subversion book

From: <karsten.krischker_at_simplify-technologies.de>
Date: 2004-07-09 10:01:02 CEST

On 8 Jul 2004 at 11:30, Ben Collins-Sussman wrote:

> > I ran into a problem when I set up a new repository and forgot to set the "realm" in the
> > svnserve.conf file.
> > The default of this variable (using the path as a realm), leads to an annoying behaviour
> > of the client, which asks for authentification frequently (the path changes and so does
> > the "realm").
>
> svnserve.conf says:
>
> #### The default realm
> ### is the path to the repository, relative to the server's repository
> ### root.

Right. So I thought too.
 
> Why would that value change? I don't understand. Can you show us the
> problem?

When I had the problem, my svnserve.conf looked as follows:

[general]
anon-access = none
auth-access = write
password-db = svnuserpasswd

For example, I accessed the repository (lets name it "my_rep") with the client
"svn log svn://my_server/my_rep/first_dir" and was prompted for authentification. After
that there was an entry in the local svn.simple directory with the realm string
"<svn://my_serve:3690> my_rep/first_dir".
Second repository access: "svn log svn://my_server/my_rep/first_dir/second_dir"
Strangely authentification again, new entry in svn.simple with realm string
"<svn://ganymed:3690> my_rep/first_dir/second_dir"
And so on with accesses to other parts of "my_rep". The realm string changes, it seems
not to be the constant path to the repository.

If the svnserve.conf contains the line "realm = My Repository" the authentification
process is started only once.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jul 9 10:02:15 2004

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