Sorry for the delayed response.....
On May 7, 2008 at 17:58 -0400, Noah Kantrowitz wrote: =>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. Logging is enabled and the following lines might be of interest: 2008-05-09 17:35:35,407 Trac[loader] ERROR: Skipping "ldapauth.store = ldapauth.store": (can't import "libssl.so.0.9.8: cannot open shared object file: No such file or directory") Not being a trac/python person, how do I help trac find the shared object? (OpenSSL 0.9.8b is installed on the machine. Not sure if I mentioned it but this is a CentOS 5 box.) =>You didn't mention installing the python-ldap modules, so be sure you have =>those too. Yup, python_ldap-2.3.4-py2.4-linux-x86_64.egg was installed. Here is the full Traceback from the log: 2008-05-09 17:36:03,059 Trac[main] ERROR: Cannot find an implementation of the "IPasswordStore" interface named "". Please update t he option account-manager.password_store in trac.ini. Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/web/main.py", line 417, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/web/main.py", line 197, in dispatch resp = chosen_handler.process_request(req) File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 363, in process_request File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/web/api.py", line 168, in __getattr__ value = self.callbacks[name](self) File "/usr/lib/python2.4/site-packages/Trac-0.11rc1-py2.4.egg/trac/web/main.py", line 131, in authenticate authname = authenticator.authenticate(req) File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 346, in wrap File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 356, in authenticate File "build/bdist.linux-x86_64/egg/acct_mgr/web_ui.py", line 383, in _remote_user File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 104, in check_password File "build/bdist.linux-x86_64/egg/acct_mgr/api.py", line 120, in password_store 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 "". Please update the option account-manager. password_store in trac.ini. -- *********************************************************************** Derek Diget Office of Information Technology Western Michigan University - Kalamazoo Michigan USA - www.wmich.edu/ *********************************************************************** --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
