Hi,
 I'm new at list.
 Yesterday I installed trac and work excelent, but i can't do that running tracd -auth ..... Trac work with authorization.
I've edit the standalone.py, and i've found that if you put in the 'users.htdigsest' file this
 
user:localhost:8000:2423j234h3wdf234234sdfs
 
the trac -auth .. fail !
 
I saw that in the load method of the digest auth...
 
you have something like this:
 
  for line in fd.readlines():
      .....
      u, r, a1 = line.strip().split(':')
 
but this not allow that in the realm you put an ':'
 
maybe you can change that for this:
 
  line = line.strip()
  u = line[0:line.index(':')]
  r = line[line.index(':')+1:line.rindex(':')]
  a1 = line[line.rindex(':'):len(line)]
 
it's a suggestion!
 
Bye.
 

--
Andrés.
"Si el universo fuera un programa estaría escrito en C
y correría bajo Unix"
                                 Anónimo
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac

Reply via email to