You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bloodhound.apache.org by Apache Bloodhound <bl...@incubator.apache.org> on 2012/06/26 17:41:07 UTC

Re: [Apache Bloodhound] #17: Test account manager plugin versions

#17: Test account manager plugin versions
-----------------------+-------------------------------------
  Reporter:  gjm       |      Owner:  gjm
      Type:  task      |     Status:  new
  Priority:  critical  |  Milestone:  RC1 for initial release
 Component:  plugins   |    Version:
Resolution:            |   Keywords:
-----------------------+-------------------------------------

Comment (by gjm):

 Installing with the current stable version (0.11 branch) at least appears
 to work in a more obvious way. I was able to test using the following
 (partial) configuration:

 {{{
 #!ini
 [account-manager]
 account_changes_notify_addresses = [your email address]
 authentication_url =
 db_htdigest_realm =
 force_passwd_change = true
 hash_method = HtDigestHashMethod
 htdigest_file = [path/to/bloodhound/environments/bloodhound.htdigest]
 htdigest_realm = bloodhound
 htpasswd_file =
 htpasswd_hash_type = crypt
 notify_actions = new,change,delete
 password_file = [path/to/bloodhound/environments/bloodhound.htdigest]
 password_store = SessionStore,HtDigestStore
 persistent_sessions = False
 refresh_passwd = False
 user_lock_max_time = 0
 verify_email = True

 [components]
 acct_mgr.admin.*= enabled
 acct_mgr.api.accountmanager = enabled
 acct_mgr.db.sessionstore = enabled
 acct_mgr.guard.accountguard = enabled
 acct_mgr.htfile.htdigeststore = enabled
 acct_mgr.notification.accountchangelistener = enabled
 acct_mgr.notification.accountchangenotificationadminpage = enabled
 acct_mgr.pwhash.htdigesthashmethod = 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
 trac.web.auth.loginmodule = disabled

 [notification]
 smtp_enabled = True
 smtp_server = localhost
 smtp_from = test@localhost
 smtp_always_cc = [your email address]
 smtp_port = 1025

 [trac]
 auto_reload = true
 database = sqlite:db/bloodhound.db
 default_date_format =
 default_language =
 default_timezone =
 base_url = http://localhost:8000/main
 }}}

 and running
 {{{
 #!sh
 python -m smtpd -n -c DebuggingServerocalhost:1025
 }}}

 to provide a simple test server.

 The version available at pypi
 (http://pypi.python.org/pypi/TracAccountManager/) is only version
 0.2.1dev-!r4697 which dates back to 2008 and so I would suggest it should
 not be supported. I'll qualify that by saying this is a suggestion based
 on limited testing.

-- 
Ticket URL: <https://issues.apache.org/bloodhound/ticket/17#comment:1>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound (incubating) issue tracker