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