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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: erics at sina dot com
New email:
PHP Version: OS:

 

 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2022 The PHP Group
All rights reserved.
Last updated: Fri Oct 07 21:03:44 2022 UTC