You also set that file as the authz_file, which it isn't. --Noah
On Jun 3, 2009, at 1:24 AM, Barbara Post wrote: > > Hello, > > I'm using Trac 0.11, AccountManagerPlugin "0.2.1dev-py2.5" (compiled > the egg from the 0.11 tag), Python 2.5.4, Apache 2.2 and mod_python, > Windows platform. > > I'm having troubles with the following htpasswd file (fake data): > > --- > user1:$apr1$1tr$V/.s/4tlKTi39XKO8YdiR. > user2:$apr1$1us$JVjh4jQhxxc.6b/IErP3N0 > --- > > When I browse in admin section to "Accounts" > "Users", I cannot > correctly read the file : > > --- > MissingSectionHeaderError: File contains no section headers. > file: c:\xampp\htdocs\trac\myproject\.htpasswd, line: 1 > 'user1:$apr1$1tr$V/.s/4tlKTi39XKO8YdiR.\n' > --- > > The .htpasswd is UTF-8 no BOM encoded. > > My trac.ini shows a configuration I believe fine (goal : don't allow > user registration or password change, but I'm a bit lost with the > htpasswd vs htdigest option. I ideally would use SVN users. Currently > I'm testing AccountManagerPlugin admin options). > > --- > [account-manager] > force_passwd_change = true > generated_password_length = 8 > hash_method = HtPasswdHashMethod > htdigest_realm = > password_file = c:\xampp\htdocs\trac\myproject\.htpasswd > password_store = HtPasswdStore,SvnServePasswordStore > > [components] > acct_mgr.admin.* = enabled > acct_mgr.admin.accountmanageradminpage = enabled > acct_mgr.api = enabled > acct_mgr.api.* = enabled > acct_mgr.api.accountmanager = enabled > acct_mgr.db.* = enabled > acct_mgr.db.sessionstore = disabled > acct_mgr.htfile.* = enabled > acct_mgr.htfile.abstractpasswordfilestore = enabled > acct_mgr.htfile.htdigeststore = disabled > acct_mgr.htfile.htpasswdstore = enabled > acct_mgr.http.* = enabled > acct_mgr.http.httpauthstore = disabled > acct_mgr.notification.* = enabled > acct_mgr.notification.accountchangelistener = disabled > acct_mgr.notification.accountchangenotificationadminpanel = disabled > acct_mgr.pwhash.* = enabled > acct_mgr.pwhash.htdigesthashmethod = disabled > acct_mgr.pwhash.htpasswdhashmethod = enabled > acct_mgr.svnserve.* = enabled > acct_mgr.svnserve.svnservepasswordstore = enabled > acct_mgr.web_ui.* = enabled > acct_mgr.web_ui.accountmodule = enabled > acct_mgr.web_ui.emailverificationmodule = disabled > acct_mgr.web_ui.loginmodule = enabled > acct_mgr.web_ui.registrationmodule = disabled > trac.web.auth.loginmodule = disabled > --- > > Thanks for your help, > > Barbara > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
