Ticket #6793 (closed defect: invalid)

Opened 2 years ago

Last modified 2 years ago

LDAP authentication

Reported by: venkatesh.s@iopextech.com Assigned to: 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

Change History

(follow-up: ↓ 2 ) 03/11/10 19:34:31 changed 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

(in reply to: ↑ 1 ) 03/12/10 06:34:49 changed 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.

03/12/10 16:54:34 changed by lruiz

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

03/12/10 20:06:40 changed by lruiz

try to disabled or uninstall ldapplugin

03/19/10 14:55:07 changed by anonymous

  • status changed from new to closed.
  • resolution set to invalid.

Add/Change #6793 (LDAP authentication)




Change Properties
Action