Where does SVN client store user authentication data?

Critical Skill  picture Critical Skill · Oct 22, 2009 · Viewed 170.9k times · Source

I am trying to simulate a problem we have with a particular domain ID which has issues accessing a subversion repository. Towards this, I tried a svn checkout with the option --username domain\problematic_ID on another windows machine. But I am not able to reproduce the problem as the checkout still succeeds using my own ID. This led me to wonder if SVN caches user authentication data in more than one place and if so where.

I have cleared the auth directory in the application data area, changed the options in the config file to disable caching of user auth data - but to no avail. The system does not even prompt me for the new user name and password, but simply checks out with the old ID.(I know it is the old ID in use by looking through the SVN logs). I am obviously missing something here -- but what? :-(

Does anyone know?

The subversion client version I use is 1.4.6(r28521)

Answer

Nikola Kotur picture Nikola Kotur · Oct 22, 2009
  • On Unix, it's in $HOME/.subversion/auth.

  • On Windows, I think it's: %APPDATA%\Subversion\auth.