Thanks, Erik. For future reference, if anyone else needs it, this works with
trac 0.11:

[account-manager]
account_changes_notify_addresses =
authentication_url =
force_passwd_change = true
generated_password_length = 8
hash_method = HtDigestHashMethod
notify_actions = []
password_store = SessionStore

[components]
acct_mgr.* = enabled
acct_mgr.htfile.abstractpasswordfilestore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = disabled
acct_mgr.http.httpauthstore = disabled
acct_mgr.pwhash.htpasswdhashmethod = disabled
acct_mgr.svnserve.svnservepasswordstore = disabled
trac.web.auth.loginmodule = disabled



On Tue, May 12, 2009 at 12:48 PM, Erik Bray <[email protected]> wrote:

>
> On Sun, May 10, 2009 at 10:49 AM, Bob Fitterman <[email protected]>
> wrote:
> > I am attempting to get a SessionStore configuration to work, but having
> no
> > luck. The relevant sections of trac.ini are shown here:
> >
> >   [account-manager]
> >   account_changes_notify_addresses =
> >   authentication_url =
> >   force_passwd_change = true
> >   generated_password_length = 8
> >   hash_method = HtDigestHashMethod
> >   notify_actions = []
> >   password_store = SessionStore
> >
> >   [components]
> >   acct_mgr.* = enabled
> >   acct_mgr.admin.accountmanageradminpage = enabled
> >   acct_mgr.api.accountmanager = enabled
> >   acct_mgr.db.sessionstore = enabled
> >   acct_mgr.htfile.abstractpasswordfilestore = disabled
> >   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 = disabled
> >   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
> >
> > Trac comes up fine (it was already running okay with HtDigestStore
> enabled),
> > but when I click on "Login" now, I get an error message: "Trac Error
> > Authentication information not available. Please refer to the
> installation
> > documentation." I've poked around but can't really figure out where I'm
> > going wrong or where to be looking for logged messages that might give me
> a
> > clue to what's misconfigured. I'm running Trac 0.11.1 on Debian.
>
> A few this I noticed:
>  * You already have acct_mgr.* = enabled.  This enables all components
> in the acct_mgr package, so all those other "acct_mgr.foo = enabled"
> lines are redundant.  The only lines you need are the ones that
> explicitly disable components.
>  * webadmin.* = enabled should be removed.  The functionality of the
> webadmin plugin is built into Trac 0.11.
>  * You need trac.web.auth.loginmodule = disabled for the account
> manager plugin to handle authentication.
>
> >
>


-- 

917-710-5829 m

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