|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5603 ldap_search($link_id,$dn,"objectclass=*",array("name") don't work!
Submitted: 2000-07-15 09:28 UTC Modified: 2000-07-25 17:33 UTC
From: christian at comlink dot org Assigned: sniper (profile)
Status: Closed Package: LDAP related
PHP Version: 4.0.0 OS: Red Had 6.0
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.
Block user comment
Status: Assign to:
Bug Type:
From: christian at comlink dot org
New email:
PHP Version: OS:


 [2000-07-15 09:28 UTC] christian at comlink dot org
I use PHP 4.0.1pl2.

The command:


even "name" is an field in the Database.

But if i choose the command:

                           or somethingelse

it work! 

If i go to commandline and use :

ldapsearch -L -b "dn" 
"(objectclass=*)" "name"

it work!

So where is the mistake?



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-22 05:08 UTC] sniper at cvs dot php dot net
Does this print any errors?

 [2000-07-25 03:02 UTC]
After thinking this more (and doing some tests) I think
this has something to do with bug #5433.

 [2000-07-25 08:22 UTC] christian at comlink dot org
Oh, i'm sorry for bad expalnation of the bug.
Useing the ldap_search command with the filter 'objectclass=*' AND an array $justthese("Attribute") where attribute is an existing attribute in the directory the result is empty.
With any other filter it work e.g. 'objectclass=person'.

By christian

 [2000-07-25 17:33 UTC]
Fixed in CVS. Thanks for confirming my thoughs! =)

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 09:01:29 2024 UTC