Modify

Opened 14 years ago

Closed 14 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

Description

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 14 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 14 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: libldap_r-2.4.so.2: 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/main.py", line 450, in _dispatch_request

dispatcher.dispatch(req)

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/web/main.py", 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/web_ui.py", line 121, in process_request

req.perm(page.resource).require('WIKI_VIEW')

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/perm.py", 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/perm.py", line 540, in _has_permission

decision = PermissionSystem(self.env). \

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

perm)

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

permissions = PermissionSystem(self.env). \

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

for perm in self.store.get_user_permissions(username):

File "/usr/lib/python2.4/site-packages/Trac-0.11.6-py2.4.egg/trac/config.py", 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 14 years ago by Larry Ruiz

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

comment:4 Changed 14 years ago by Larry Ruiz

try to disabled or uninstall ldapplugin

comment:5 Changed 14 years ago by anonymous

Resolution: invalid
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Larry Ruiz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.