title: Subversion "Authorization failed" when creating repository
body: <p>I have previously had a repository on my computer for local use and removed it.</p>
  
  <p>Now I am trying to set another one up. But keep getting "Authorization failed" even when entering a correct password, when I enter a wrong password it tells me so. This is exactly how I set it up the first time but now every time it fails. What am I doing wrong? It is the only repository on my computer. I have already tried a reinstall of subversion and removing the cache in my AppData folder but nothing has helped.</p>
  
  <p>I am using this guide to set it up. <a href="https://blog.codinghorror.com/setting-up-subversion-on-windows/" rel="nofollow noreferrer">https://blog.codinghorror.com/setting-up-subversion-on-windows/</a></p>
  
  <p>This is what I am doing</p>
  
  <pre><code>C:\&gt;svnadmin create "H:\SVN\Repository"
  
  C:\&gt;sc create svnserver binpath= "C:\Program Files (x86)\Subversion\svnserve.exe
   --service -r H:\SVN\Repository" displayname= "SubVersion" depend= Tcpip start=
  auto
  [SC] CreateService SUCCESS
  
  C:\&gt;set SVN_EDITOR=c:\windows\system32\notepad.exe
  
  C:\&gt;net start svnserver
  The SubVersion service is starting.
  The SubVersion service was started successfully.
  
  C:\&gt;svn mkdir svn://localhost/myProject
  
  Log message unchanged or not specified
  (a)bort, (c)ontinue, (e)dit:
  c
  Authentication realm: &lt;svn://localhost:3690&gt; myProject
  c
  Password for 'Admin':
  Authentication realm: &lt;svn://localhost:3690&gt; myProject
  c
  Username: user
  Password for 'user': ********
  svn: Authorization failed
  
  C:\&gt;
  </code></pre>
  
  <p>My svnserve.conf file</p>
  
  <pre><code>[general]
  anon-access = read
  auth-access = write
  password-db = passwd
  authz-db = authz
  realm = myProject
  </code></pre>
  
  <p>And my passwd file</p>
  
  <pre><code>[users]
  user = password
  </code></pre>