php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9351 LDAP_SEARCH
Submitted: 2001-02-20 03:39 UTC Modified: 2001-04-01 14:05 UTC
From: erics at sina dot com Assigned: venaas (profile)
Status: Closed Package: LDAP related
PHP Version: 4.0.3pl1 OS: Linux RedHat6.2
Private report: No CVE-ID: None
 [2001-02-20 03:39 UTC] erics at sina dot com
I use PHP to connect ldap service for searching and modifing information. For search a entry, i use this:
$filter="(date >= 20010116)";
then use ldap_search($ld,$dn,$filter);
but seems the function can't work.
surprisingly, if i use 
$filter="(date = 20010116)";  //change '>=' to '='
it works.
so, can anyone tell me what's the wrong with it?
thanks a lot.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-02-20 04:38 UTC] venaas@php.net
I think the problem might be that the LDAP server doesn't
support it. Please try searching with ldapsearch command
line utility and see if that works. What LDAP libraries
and server are you using?


 [2001-04-01 14:05 UTC] sniper@php.net
No feedback.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 13:01:31 2024 UTC