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

Re: Save authentication for different repositories on same server

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-16 22:45:37 CEST

Tobias Schäfer wrote:
> On Monday 16 July 2007 20:14, olly@flupp.de wrote:
>> Dear TortoiseSVN users,
>>
>> I have access to two different repositories on the same server, but with
>> different logins.
>>
>> For example:
>>
>> login1 for https://svn.example.com/repository_one
>> login2 for https://svn.example.com/repository_two
>>
>> I stored the first login using "[X] Save authentication" in the
>> Authentication dialog. But if I try do access repository_two, tortoiseSVN
>> sends login1 and does not ask for login2.
>
> Without contacting the server it is not possible to differenciate this from:
>
> login1 for https://svn.example.com/trunk
> login2 for https://svn.example.com/branches
>
> Therefore Subversion assumes that a single host only has one user login.
>
> The only solution I know is to have an alias for the host name. You could
> add this to the DNS Server or manually add this in your local hosts file.
> Additionally your SVN Server will have to use this alias or else the
> validation of your SSL certificate will fail.

That's not quite true. Subversion uses the authentication realm and the
server name (put together and builds an md5 hash over it) to store the
authentication data.
You have to use different 'AuthName' texts for each of your repository
sections in the apache config file.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Jul 16 22:44:54 2007

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

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