I was trying to setup svn on a machine running Linux Fedora 18. I created and added new users by using htpasswd. So basically what I did was:
$ htpasswd -c passwd admin.
where passwd is the file containing the username/password pairs. By default, htpasswd is supposed to use md5 to encrypt passwords. So, later when I tried to login, I couldn't, even though I supplied correct username and password. After trying different things, I went to some online md5 generator, typed in the same password. The resulting string was different from the one generated by htpasswd. I manually edited passwd file, put in the md5 password I got from the website and successfully logged in. Is there something wrong with htpasswd or there are some system setting which need to be fixed?