6.0.0-beta1
8/2/25

[#1533] ldap driver and empty filter
Summary ldap driver and empty filter
Queue Turba
Queue Version FRAMEWORK_3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester lalot (at) univ-aix (dot) fr
Created 03/11/2005 (7449 days ago)
Due
Updated 03/11/2005 (7449 days ago)
Assigned
Resolved 03/11/2005 (7449 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/11/2005 02:46:11 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
This makes no sense - _read() is specifically for returning one or 
more *distinct* dn's. The filter should never be empty. Also, some 
directories don't have uid as an element, so hardcoding this is 
definitely wrong.
03/11/2005 01:55:55 PM lalot (at) univ-aix (dot) fr Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ ldap driver and empty filter
Queue ⇒ Turba
Reply to this comment
in lib/Driver/ldap.php



function _read



when filter is empty, add an uid=* If not , there is problems using openldap

(undefined filter)

(line 180)

         if (empty($filter)){ # DOM

              $filter='uid=*';

         }



uid=* as we are reading an entry seems not stupid and fast..

Saved Queries