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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
44 + 40 = ?
Subscribe to this entry?

 
 [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-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 23:01:28 2024 UTC