Tuesday, 3 February 2009

SVN : Keeps asking for your credentials ?

The issue

You too may have come across this annoying one: you do an update, and halfway thought it stops and asks you for your username and password.. ummm what ? like how did you get the first stuff then ?

Well it appears that it is related to the use of externals in the SVN repo, and the fact that each of these repos are do not have the same users. So when you hit the external repo you get asked for your credentials again.

Detail

Looking a bit deeper there are 2 ways in which this can happen :

1) One repo with Basic Auth and one with SSPI auth ( a way to use your domain credentials )
2) Both with Basic Auth, but without the same credentials on both repos

Work around

In general the work around is to stop using your Basic Auth user, and use your domain credentials ( this assumes that your repo is managed by our CSI team, or that you have set up SSPI.

If you manage it yourself with Basic Auth, then just ensure you configure your auth files to have the same user.

No comments:

Post a Comment