Modify

Opened 4 years ago

Closed 4 years ago

#6793 closed defect (invalid)

LDAP authentication

Reported by: venkatesh.s@… Owned by: lruiz
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 follow-up: Changed 4 years ago by lruiz

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 4 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 4 years ago by lruiz

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

comment:4 Changed 4 years ago by lruiz

try to disabled or uninstall ldapplugin

comment:5 Changed 4 years ago by anonymous

  • Resolution set to invalid
  • Status changed from new to closed

Add Comment

Modify Ticket

Action
as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from lruiz. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.