I was trying to do such a trivial task as getting AccountManager to 
authenticate against LDAP (Active Directory).

I successfully installed python-ldap, AccountManager and TracLDAPAuth.

Configuration is:
[components]
trac.web.auth.LoginModule = disabled

acct_mgr.admin.accountmanageradminpage = enabled
acct_mgr.api.accountmanager = enabled
acct_mgr.web_ui.LoginModule = enabled

ldapauth.store.LDAPStore = enabled

[ldap]
server = 127.0.0.1:3268
bind_dn = cn=%s,cn=Users,dc=domain,dc=example,dc=com

[account-manager]
password_store = LDAPStore

Only thing that UI gives is incorrect password and username. I tried to 
change bind_dn to: sAMAccountName=%s,cn=Users,dc=domain,dc=example,dc=com

But no change. In both cases debug output is:

Trac[main] DEBUG: Dispatching <Request "POST u'/login'">
Trac[store] DEBUG: LDAPAuth: Checking password for user testuser
Trac[svn_fs] DEBUG: Subversion bindings imported
Trac[web_ui] WARNING: AccountModule is disabled because the password 
store does not support writing.
Trac[chrome] DEBUG: Prepare chrome data for request
Trac[store] DEBUG: LDAPAuth: Checking password for user testuser
Trac[api] DEBUG: action controllers for ticket workflow: 
['ConfigurableTicketWorkflow']
Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_CREATE 
on None
Trac[perm] DEBUG: No policy allowed anonymous performing TRAC_ADMIN on None
Trac[perm] DEBUG: No policy allowed anonymous performing 
PERMISSION_GRANT on None
Trac[perm] DEBUG: No policy allowed anonymous performing 
PERMISSION_REVOKE on None
Trac[perm] DEBUG: No policy allowed anonymous performing TICKET_ADMIN on 
None
Trac[perm] DEBUG: No policy allowed anonymous performing EMAIL_VIEW on None
Trac[session] DEBUG: Retrieving session for ID '6e37a3c3c2dcb53df75c2e41'


So, any ideas?

-- 
Jani Tiainen

"Tein sein mihin näillä lahjoilla pystyin.
  Tein sen, en yhtään enempää." - Martti Servo & Napander


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