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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 16:01:30 2024 UTC