I have a trac deployment for our SVN that uses htdigest for simplicity and fast deployment.
I have an issue with two users.
If I add user jim and create a password for him, it will write it to the start of the file instead of appending it. Likewise with user jason. And it seems to be only these two users.
I am creating the usernames and passwords with:
htdigest -c .htpasswd_digest "Trac Authentication" <username>
I've been Googling around and cannot find any reports of this behaviour. Any ideas?
I could try to add jim and then jason and copy the user credentials and manually add them once the other is there.
Another thing I found weird is that one of the users takes up 2 lines of the auth file but the second line is only ever a character or two.
Is that a problem? What users do you have so far?
Originally Posted by WrinkledCheese
July 10th, 2013, 09:47 AM
I have 6. When I add Jim and Jason exists...Jim overwrites Jason effectively deleting Jason and vice versa.
If I add Harry, Curly or Moe, they append to the end of the file without deleting other users.
July 10th, 2013, 01:27 PM
I manually deleted both Jim and Jason from the file. Added one. And pasted a copy of the other and now they work. This has also stopped htdigest from overwriting one or the other.