tracd: Warning: invalid digest line

1,609 views
Skip to first unread message

HM 2K

unread,
Dec 10, 2010, 1:49:53 PM12/10/10
to trac-...@googlegroups.com
I'm trying to run tracd, but I'm getting an error, here's what I'm trying:

PROJECT_NAME='MyProject'
SERVER_PORT='8080'
SERVER_HTPASSWD='/etc/svn-auth-file'
tracd --auth="*",$SERVER_HTPASSWD,MyRealm --port=$SERVER_PORT --hostname=localhost --protocol=ajp --unquote --env-parent-dir=$HOME/projects --base-path=$HOME/projects/$PROJECT_NAME --daemonize --pidfile=$HOME/trac.pid --umask=63

Which returns the following:

Warning: invalid digest line in /etc/svn-auth-file: test:$apr1$SIr5O...$XdhvXGQ2U6KI4d8yNTR7c1
Warning: invalid digest line in /etc/svn-auth-file: viewsvn:T.jyS0BMlyzmE
Warning: found no users in realm: MyRealm

I know this auth file is a normal htaccess file as it's working fine with viewsvn in Apache.

What could the problem be? How can I solve this?

Thanks.

bas.h...@gmail.com

unread,
Dec 10, 2010, 6:19:43 PM12/10/10
to HM 2K, trac-...@googlegroups.com
Hi,

It seems your Trac expects a password file for digest authentication, but the sample you've shown is for basic authentication.

Make sure tracd is expecting basic authentication, check tracd -h for the commandline option required.

Regards, Bas
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.



HM 2K

unread,
Dec 11, 2010, 12:34:20 PM12/11/10
to trac-...@googlegroups.com
That certainly helped. I had completely overlooked the difference between digest and basic auth.

Thanks.
Reply all
Reply to author
Forward
0 new messages