I'm trying to use the 
http://trac-hacks.org/intertrac/AccountManagerPlugin.
There is an apparent paradox, which I will explain as well as I can
considering I'm inexperienced at authentication:

- If I use http authentication (via apache), then the plugin has
problems, and particularly, users can't logout.  See:
http://trac.edgewall.org/ticket/791

- However, if I don't use http authentication via apache, then I can't
log in to administer my site and create users.

I want to know two things:

1) What should I change my settings (apache2.conf, trac.ini) so
everything works properly--everything meaning all account management
and authorization is done through trac, not apache.  And, users can
log off properly

2) What would be the proper way to install/configure trac from the get-
go to get the behavior just described?

Relevant file parts...

%---  apache2.conf ----
Alias /heartstuff /trac/heartstuff
<directory trac="" heartstuff="">
  Order Allow,Deny
  Allow From All
  Options ExecCGI
  AddHandler cgi-script .cgi .pl .py
</directory>

<location heartstuff="">
  SetHandler mod_python
  PythonInterpreter main_interpreter
  PythonHandler trac.web.modpython_frontend
  PythonOption TracEnv /trac/heartstuff
  PythonOption TracUriRoot /heartstuff
  AuthType Basic
  AuthName &quot;Trac&quot;
  AuthUserFile /trac/heartstuff/trac.passwd
  Require valid-user
%------------------------------------------------------------------------------------

%----  trac.ini  (relevent
parts)------------------------------------------------
# -*- coding: utf-8 -*-

[account-manager]
account_changes_notify_addresses = [email protected],
[email protected]
force_passwd_change = True
generated_password_length = 8
hash_method = HtDigestHashMethod
notify_actions = []
password_file = <inherited>
password_format = htpasswd
password_store = HtPasswdStore

[components]
acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.db.sessionstore = enabled
acct_mgr.htfile.abstractpasswordfilestore = enabled
acct_mgr.htfile.htdigeststore = enabled
acct_mgr.htfile.htpasswdstore = enabled
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 = enabled
acct_mgr.web_ui.accountmodule = enabled
acct_mgr.web_ui.emailverificationmodule = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.registrationmodule = enabled
addcomment.* = enabled
authopenid.authopenid.authopenidplugin = enabled
breadcrumbsnavplugin.* = enabled
breadcrumbsnavplugin.breadcrumbs.breadcrumbssystem = disabled
iniadmin.iniadmin.iniadminplugin = enabled
macropost.web_ui.macropostmodule = enabled
trac.versioncontrol.web_ui.browser.browsermodule = enabled
trac.versioncontrol.web_ui.browser.defaultpropertyrenderer = enabled
trac.versioncontrol.web_ui.browser.wikipropertyrenderer = enabled
trac.versioncontrol.web_ui.changeset.anydiffmodule = enabled
trac.versioncontrol.web_ui.changeset.changesetmodule = enabled
trac.versioncontrol.web_ui.changeset.defaultpropertydiffrenderer =
enabled
trac.versioncontrol.web_ui.log.logmodule = enabled
trac.versioncontrol.web_ui.main.versioncontrolui = enabled
trac.web.auth.loginmodule = disabled
tracattachmentnum.* = enabled
tracdiscussion.admin.discussionwebadmin = enabled
tracdiscussion.api.discussionapi = enabled
tracdiscussion.core.discussioncore = enabled
tracdiscussion.init.discussioninit = enabled
tracdiscussion.search.discussionsearch = enabled
tracdiscussion.timeline.discussiontimeline = enabled
tracdiscussion.wiki.discussionwiki = enabled
tracfullblog.* = enabled
traclistofwikipages.* = enabled
tracmath.tracmath.tracmathplugin = enabled
tractoc.macro.tocmacro = enabled
tracusermanager.* = enabled
tracusermanager.account.admin_um.accountusermanagerpanel = disabled
tracusermanager.admin.usermanagementadminpage = disabled
tracusermanager.api.cachedsessionattributeprovider = disabled
tracusermanager.api.environmentfixknownusers = disabled
tracusermanager.api.sessionattributeprovider = disabled
tracusermanager.api.sessionuserstore = disabled
tracusermanager.api.usermanager = enabled
tracusermanager.permissions.admin_um.permissionusermanagerpanel =
disabled
tracusermanager.profile.admin.userprofilefieldsadminpage = disabled
tracusermanager.profile.admin_um.userprofileusermanagerpanel =
disabled
tracusermanager.profile.api.userprofilemanager = disabled
tracusermanager.profile.macros.defaultuserprofileslistcellcontributor
= disabled
tracusermanager.profile.macros.teamrostermacro = enabled
tracusermanager.profile.macros.userprofileslistmacro = enabled
tracusermanager.profile.prefs.userprofilemodule = enabled
tracwysiwyg.* = enabled

[trac]
authz_file =
authz_module_name =
auto_reload = False
base_url =
check_auth_ip = true
check_auth_ip_mask = 255.255.255.0
database = sqlite:db/trac.db
default_charset = iso-8859-15
default_handler = WikiModule
default_timezone =
expires = 86400
htdocs_location =
ignore_auth_case = false
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search, blog
metanav = login,logout,prefs,help,about
permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy
permission_store = DefaultPermissionStore
repository_dir =
repository_type = svn
show_email_addresses = false
timeout = 20
use_base_url_for_redirect = False

%----------------------------------------------------------

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