Trade kingdom

I am trying to configure tracd for a project that I am currently working on. After creating a password file with the python script specified on the site , I try to start the server with authentication. But this gives rise to a warning that there are no users in the area. What is really a kingdom - I tried to use trac as a value, and also tried to leave it empty. I am using Windows XP. I am using a standalone Tracd server.

The command line was sent: tracd --port 8000 --auth = My_Test_Project, D: \ My_Test_Project \ Documents \ Trac \ digest.txt, Trac D: \ My_Test_Project \ Documents \ Trac

The warning message was "Warning: no users found in scope: trac"

Thanks...

+5
source share
3 answers

Replacing the above command line with one below will help.

tracd --port 8000 --auth = Trac, D: \ My_Test_Project \ Documents \ Trac \ digest.txt, Trac D: \ My_Test_Project \ Documents \ Trac

The line after --auth = should be the name of the environment, not the name of the project.

+6
source

Check the password digest file. Looking at my, it seems that the output is stored as a string with three fields in this format username:realm:passwordhash. If you get this warning, it may be a mismatch between the field field in the digest file and the field that you pass when tracd starts.


There are three options in the python generator generator:

  • -u for user
  • -p for password
  • -r for region

, ( trac-digest.py):

python trac-digest.py -u user -p pass >> digest.txt

digest.txt:

user:trac:1d395970d2a9a075d0536a4d6e4d0679

, realm trac tracd --auth, , , ": : realm" , -r:

python trac-digest.py -u user -p pass -r realm >> digest.txt

digest.txt:

user:realm:1d395970d2a9a075d0536a4d6e4d0679

, , trac-digest.py.

+5

The text says that you should specify the name of the region as “trac” and not “ T rac”, but I have no chance to check if this has any meaning, sorry.

+1
source

All Articles