Opened 16 years ago

Closed 16 years ago

#2725 closed defect (worksforme)

HtPasswdStore doesn't work on trac ver 0.11

Reported by: liu.jinzhi@… Owned by: John Hampton
Priority: high Component: AccountManagerPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11


set on HtPasswdStore and create a new account, can't login trac and Subversion also can't indentify this user.

Trac version: 0.11b1

account-manager htdigest_realm trac password_file D:\SVN-Repos\conf\webconfig\svn-auth-file password_store HtPasswdStore

Attachments (0)

Change History (6)

comment:1 Changed 16 years ago by anonymous

Owner: changed from Matt Good to anonymous

comment:2 Changed 16 years ago by John Hampton

Owner: changed from anonymous to John Hampton
Status: newassigned

Please make sure that all of the entries in D:\SVN-Repos\conf\webconfig\svn-auth-file look like:


and nor look like:


comment:3 Changed 16 years ago by liu.jinzhi@…

D:\SVN-Repos\conf\webconfig\svn-auth-file format should be right like.

test:$apr1$y64.....$1L.2zDMDAdgwuqJP2DhQH. admin:$apr1$.U2.....$jcA3ljXTUxjaPhhHKmzmO0 user1:$apr1$zQTur0..$9si735PJeSsQAn7jFynIF.

comment:4 Changed 16 years ago by John Hampton

Any tracebacks in the log? Are you using form based auth? Or is apache doing the auth?

comment:5 Changed 16 years ago by anonymous

So, I went ahead and installed a test environment (as I normally don't use the HtPasswdStore) and it works fine for me. Here is my setup, you can tell me what is different about yours:

  • Trac 0.11dev-r7168
  • TracAccountManager 0.2dev-r3721
  • trac.ini
    password_file = /Users/jchampton/trac-plugin-dev/env/conf/passwd
    password_format = htpasswd
    acct_mgr.* = enabled
    trac.web.auth.loginmodule = disabled
  • Using tracd to serve the environment:
    tracd --port=8080 -s -r .

Created initial user with htpasswd. Then created subsequent user via account manager. Was able to log in as both of them successfully

comment:6 Changed 16 years ago by John Hampton

Resolution: worksforme
Status: assignedclosed

Closing due to lack of response and inability to reproduce the error.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain John Hampton.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.