Closed (outdated)
Project:
Lightweight Directory Access Protocol
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Jun 2014 at 17:53 UTC
Updated:
13 Dec 2020 at 13:16 UTC
Jump to comment: Most recent
Comments
Comment #1
drupalnuts commentedI have fixed this by patching LdapServer.class.php. Is there a method I can use provide a custom version of this that gets loaded at runtime?
Comment #2
haydeniv commentedHi drupalnuts,
Please see https://www.drupal.org/node/707484 for creating a patch with your fix. If it is a problem for you it is most likely a problem for others as well.
Thanks!
Comment #3
drupalnuts commented@Haydeniv,
The changes I made won't work for anyone else, I hardcoded a filter in the ldap query. My question is there a way load my version of the class dynamically.
Comment #4
grahl@drupalnuts: No there is no way for you to load your class dynamically with reasonable effort, you will have to rely on your patch.
Maybe a dumb question but wouldn't it make more sense to rely on groups visible via a memberOf overlay on the user instead of querying the groups in such a scenario?
Comment #5
grahlClosing issue as outdated due to no further development on 7.x, if you feel this issue is still relevant and you are willing to work on a patch and/or debug the problem, please reopen.