Issue with basic authentication

307 views
Skip to first unread message

Dave Agro

unread,
Oct 2, 2013, 11:37:36 AM10/2/13
to us...@tortoisesvn.tigris.org
I am having an issue with a user who is trying to use TortoiseSVN to access our VisualSVN Server repository. Anyone who is in our domain on a domain joined PC uses integrated authentication and it works just fine. However, this user is not joined to our domain, and is prompted for a username/password. When he enters it, he can connect to the site https://<svnserver>/svn URL just fine and see's the repository he has rights to. However, when he tries to open the repository, he gets an error "Error running context: An error occurred during authentication". And I can see in the logs that it's actually trying to authenticate against the repository with his local machine credentials, and not the credentials he entered. This happens if he connects directly to the repository as well (https://<svnserver>/svn/<repository>).

He is able to access the contents of the repository just fine using a web browser, but he needs to be able to do more than access the files. Also, this is the newest version of TortoiseSVN, 1.8.2. Has anyone run into this before?

David Balderree

unread,
Oct 3, 2013, 4:23:14 PM10/3/13
to us...@tortoisesvn.tigris.org
I'm having the exact same problem. It just started a few days ago. I have the latest VisualSVN running in a VM and TortoiseSVN works perfectly on there with the same username/pw. On my development machine I get the error

Unable to connect to a repository at URL 'http://win7dev:8080/svn/dev'
Error running context: The requested address is not valid in its context

I also upgraded Ankh to the latest version to try accessing from Visual Studio but I get the same error there too.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3065688

To unsubscribe from this discussion, e-mail: [users-un...@tortoisesvn.tigris.org].

Recursor

unread,
Oct 4, 2013, 6:48:16 PM10/4/13
to us...@tortoisesvn.tigris.org
Finally fixed this on mine, just backed up then deleted everything in
C:\Users\<User>\AppData\Roaming\Subversion

The next time I ran a command the files were re-created and everything worked.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3065756

Dave Agro

unread,
Oct 7, 2013, 3:42:13 PM10/7/13
to us...@tortoisesvn.tigris.org
I'm not sure if we are facing the exact same issue. This method did not fix the problem for me. Note that I encountered this in my test environment even on first initial install.

I posted this issue to another location and got a valid workaround for this problem. Here is the text from that post:

You can use the Windows Credential Manager to store the other account's credentials for Single Sign-On Integrated Windows Authentication.

The following instruction shows how to put other domain credentials to access VisualSVN Server into Windows Credential Manager:

1. Start | Control Panel | Credential Manager,

2. Click 'Add a Windows Credential',

3. As 'Internet or network address' enter the FQDN of VisualSVN Server's machine,

4. As 'Username' enter the <DOMAIN>\<username> of user account that exists in domain and has access rights to VisualSVN Server,

Complete the password field and click OK,

Verify that you can authenticate to VisualSVN Server under the selected user account after completing the above steps.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3065849

nitinarora1981

unread,
Jun 10, 2014, 8:03:00 AM6/10/14
to us...@tortoisesvn.tigris.org
Excellent. this solved it for me!



--
View this message in context: http://tigris-scm.10930.n7.nabble.com/Issue-with-basic-authentication-tp95075p96927.html
Sent from the tortoisesvn - users mailing list archive at Nabble.com.

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3083012
Reply all
Reply to author
Forward
0 new messages