Hi all,

Could you please help me with the following issue:

I have trac 0.10.4 running as a daemon on a Linux server:

/path/to/tracd -d --basic-auth *,/path/to/htdigest_file,* --port NNNN -e
/path/to/parent/dir

I'd like to do 2 things:

1. Delegate authentication to one of my projects to Apache (which currently
uses mod_auth_mysql) using AccountManagerPlugin and HttpAuthStore.

2. Keep htdigest_file authentication for other projects.

I have AccountManagerPlugin installed and in the desired project's trac.ini
I have the following:

[components]

acct_mgr.admin.* = enabled
acct_mgr.admin.accountmanageradminpage = disabled
acct_mgr.api = enabled
acct_mgr.api.* = enabled
acct_mgr.db.* = enabled
acct_mgr.db.sessionstore = disabled
acct_mgr.htfile.* = enabled
acct_mgr.htfile.abstractpasswordfilestore = disabled
acct_mgr.htfile.htdigeststore = disabled
acct_mgr.htfile.htpasswdstore = disabled
acct_mgr.http.* = enabled
acct_mgr.http.httpauthstore = enabled
acct_mgr.pwhash.* = enabled
acct_mgr.pwhash.htdigesthashmethod = disabled
acct_mgr.pwhash.htpasswdhashmethod = disabled
acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.accountmodule = disabled
acct_mgr.web_ui.loginmodule = disabled
acct_mgr.web_ui.registrationmodule = disabled
batchmod.web_ui.batchmodifymodule = enabled
batchmod.web_ui.ticketquerymacro = enabled
customfieldadmin.api.customfields = enabled
customfieldadmin.customfieldadmin.customfieldadminpage = enabled
iniadmin.iniadmin.iniadminplugin = enabled
permredirect.filter.permredirectmodule = enabled
webadmin.* = enabled

[account-manager]
authentication_url = http://some-host.ru/
password_store = HttpAuthStore

But when I try to login to this project, only logins that are stored in
/path/to/htdigest_file work fine.

To cut the story short, how can I override authentication to make trac
authenticate via Apache?

Thanks for help.

-- 
Med vennlig hilsen,
Anton Soldatov

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