On Sun, Mar 15, 2009 at 4:23 PM, Fitter Man <[email protected]> wrote:
> I have just installed Trac, but I'm having trouble getting the authorization
> configured. Immediately after clicking on the Login link, the error message
> "Authentication information not available." is displayed.
>
> I am running under Apache with FCGI. tracd isn't an option because of the
> shared hosting environment I'm running in, but if it will help to use it for
> diagnosing this problem, I can start it at the command line. I am running
> Python 2.4.4, Trac 0.11.1, TracAccountManager 0.2.1dev-r5273. (Yeah, maybe
> that is too bleeding edge.)
>
> I only want to use SessionStore authentication. Here are two relevant
> sections of the trac.ini file.
>
> [account-manager]
> account_changes_notify_addresses =
> authentication_url =
> force_passwd_change = true
> generated_password_length = 8
> hash_method = HtDigestHashMethod
> htdigest_realm =
> notify_actions = []
> password_file =
> /home/myusername/trac_projects/trac_builder/trac_builder.passwd
> password_format = htpasswd
> password_store =
> SessionStore,HtDigestStore,HtPasswdStore,HttpAuthStore,SvnServePasswordStore
>
>           ... lines omitted...
>
> [components]
> acct_mgr.* = enabled
> acct_mgr.admin.accountmanageradminpage = enabled
> acct_mgr.api.accountmanager = enabled
> acct_mgr.htfile.abstractpasswordfilestore = enabled
> acct_mgr.htfile.htdigeststore = disabled
> acct_mgr.htfile.htpasswdstore = disabled
> acct_mgr.http.httpauthstore = disabled
> acct_mgr.notification.accountchangelistener = enabled
> acct_mgr.notification.accountchangenotificationadminpanel = enabled
> acct_mgr.pwhash.htdigesthashmethod = enabled
> acct_mgr.pwhash.htpasswdhashmethod = enabled
> acct_mgr.svnserve.svnservepasswordstore = disabled
> acct_mgr.web_ui.accountmodule = enabled
> acct_mgr.web_ui.emailverificationmodule = enabled
> acct_mgr.web_ui.loginmodule = enabled
> acct_mgr.web_ui.registrationmodule = enabled
> trac.web.auth.loginmodule = enabled
> webadmin.* = enabled
>
> Other attempts included (1) setting the following parameters (diff from
> above and in the correct section)
>
> password_store = SessionStore
> acct_mgr.pwhash.htdigesthashmethod = enabled
> acct_mgr.pwhash.htpasswdhashmethod = disabled
>
> and (2) trying it with the two hash method values switched (i.e. htdigest =
> disabled, htpasswd = enabled). I have also tried setting all the options in
> the acct_mgr to enabled, but it didn't change the behavior. The server is
> up, if I let anonymous users have TRAC_ADMIN I can see and set all these
> parameters from the admin section of the site, but I'm stumped as to how to
> get this to work. I am 100% certain I have overlooked something painfully
> obvious or there is some version magic I am hoping someone out there will
> spot for me.

You're all over the place with that configuration.  You're mixing
settings for different authentication backends that have nothing to do
with each other.  Just throw out any settings you have related to the
account manager plugin and reread this:
http://trac-hacks.org/wiki/AccountManagerPlugin#HtPasswdStore

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to