Ticket #2725 (closed defect: worksforme)

Opened 5 years ago

Last modified 5 years ago

HtPasswdStore doesn't work on trac ver 0.11

Reported by: liu.jinzhi@siemens.com Assigned to: pacopablo
Priority: high Component: AccountManagerPlugin
Severity: major Keywords:
Cc: Trac Release: 0.11

Description

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

Change History

04/02/08 11:21:02 changed by anonymous

  • owner changed from mgood to anonymous.

05/27/08 09:27:50 changed by pacopablo

  • status changed from new to assigned.
  • owner changed from anonymous to pacopablo.

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

foo:$dj$lajflakjsdf
bar:$sl$Ldjaflkjsdlf

and nor look like:

foo:trac:5b7cb34cbab5ba

05/27/08 09:53:38 changed by liu.jinzhi@siemens.com

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.

05/27/08 17:16:25 changed by pacopablo

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

05/27/08 19:16:03 changed 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
    [account-manager]
    password_file = /Users/jchampton/trac-plugin-dev/env/conf/passwd
    password_format = htpasswd
    
    [components]
    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

10/29/08 07:14:15 changed by pacopablo

  • status changed from assigned to closed.
  • resolution set to worksforme.

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


Add/Change #2725 (HtPasswdStore doesn't work on trac ver 0.11)




Change Properties
Action