Opened 8 years ago

Closed 8 years ago

#6793 closed defect (invalid)

LDAP authentication

Reported by: venkatesh.s@… Owned by: Larry Ruiz
Priority: normal Component: LdapAuthnzPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


am using account manager plugin for authentication which takes user credentials from a file. now i want to take the credentials from an ldap server. pls suggest me ways to do that. as it is a show stopper for me.

Attachments (0)

Change History (5)

comment:1 Changed 8 years ago by Larry Ruiz

I changed the wiki, and included a small section about installation, I don't know if it will be enough, try to install and let me know what problems do you have

comment:2 in reply to:  1 Changed 8 years ago by anonymous

This is the error i find in trac.log when i try to access the trac url after following the steps to install Ldapplugin

Trac[loader] ERROR: Skipping "ldapplugin.api = ldapplugin.api": (can't import "ImportError: cannot open shared object file: No such file or directory")

Traceback (most recent call last):

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/", line 450, in _dispatch_request


File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/", line 206, in dispatch

resp = chosen_handler.process_request(req)

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/wiki/", line 121, in process_request


File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/", line 549, in require

if not self._has_permission(action, resource):

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/", line 540, in _has_permission

decision = PermissionSystem(self.env). \

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/", line 428, in check_permission


File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/", line 284, in check_permission

permissions = PermissionSystem(self.env). \

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/", line 360, in get_user_permissions

for perm in

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/", line 530, in get

raise AttributeError('Cannot find an implementation of the "%s" '

AttributeError: Cannot find an implementation of the "IPermissionStore" interface named "LdapPermissionStore". Please update the option trac.permission_store in trac.ini.

comment:3 Changed 8 years ago by Larry Ruiz

this plugin does not depend on ldapplugin, and make sure that you have python-ldap installed

comment:4 Changed 8 years ago by Larry Ruiz

try to disabled or uninstall ldapplugin

comment:5 Changed 8 years ago by anonymous

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Larry Ruiz.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.