Derek Diget wrote:

On May 7, 2008 at 15:21 -0400, Noah Kantrowitz wrote:
=>Derek Diget wrote:
=>> =>> 2) Authenticate users to our LDAP via AccountManagerPlugin's login page:
=>>       We don't want any "passwords" stored/cached within trac
=>> =>> Use what plug-in or combination?
=>
=>http://pypi.python.org/pypi/TracLDAPAuth

OK, installed the 2.4 egg, and I think that I have made the correct updates to trac.ini by adding the following under the sections listed.


[components]
ldapauth.* = enabled

[account-manager]
password_store = LDAPStore

[ldap]
server = ldap.example.com
bind_dn = uid=%s,ou=people,dc=example,dc=com

(where example.com is replaced for our site.)


But....now when I try logging in from AccountManagerPlugin's login page, I get a python traceback where the last few lines are as follows:


  File 
"/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/config.py", line 
462, in __get__
    raise AttributeError('Cannot find an implementation of the "%s" '
AttributeError: Cannot find an implementation of the "IPasswordStore" interface named 
"LDAPStore".  Please update the option account-manager.password_store in trac.ini

Check your log for loading errors.

evil_twin: "logging" is http://trac.edgewall.org/wiki/TracLogging <-- Enable debug logging to file, ensure your environments log/ directory is writeable by your web server user, check for errors.

You didn't mention installing the python-ldap modules, so be sure you have those too.

--Noah

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to