|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
  [2000-07-15 09:28 UTC] christian at comlink dot org
 Hallo,
I use PHP 4.0.1pl2.
The command:
ldap_search($link_id,$dn,"objectclass=*",array("name"));
even "name" is an field in the Database.
But if i choose the command:
ldap_search($link_id,$dn,"name=*",array("name"))
                          ^^^^^^
                           or somethingelse
it work! 
If i go to commandline and use :
ldapsearch -L -b "dn" 
"(objectclass=*)" "name"
it work!
So where is the mistake?
Christian
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits             | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
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