On 2015-03-14 12:07, somenxavier wrote:
The problem is the password file:

If I change realm:
[root@mercuri trac]# diff passwordstrac.txt passwordstracnew.txt
1c1
< xan:foo:a3d685a9cfeb66687ddf55eadf6113c3
---
> xan:bla:a3d685a9cfeb66687ddf55eadf6113c3

And I run
/usr/bin/python2 /usr/bin/tracd -d -p 8081 --protocol http --auth *,/etc/trac/passwordstracnew.txt,bla /srv/http/tasks/bla/
then I can't login with the same password. Strange?

That's how HTTP digest authentication works--the realm is included in the hash: http://en.wikipedia.org/wiki/Digest_access_authentication
If you want to change the realm, you'll have to reset all the passwords.

--
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: [email protected] |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 39 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++

--
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to