ldap_read() with NULL search base
| From: | Turbo Fredriksson | Date: | Sat, 22 Jul 2006 19:33:00 +0000 |
| Subject: | ldap_read() with NULL search base | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-239704@lists.php.net to get a copy of this message | ||
Is there something wrong with this, or am I missing
something?
ldap_read(link, NULL filter)
IS supposed to return the RootDSE, but it doesn't (always).
On my Debian GNU/Linux systems, I have to remove the 'BASE ...'
config option from ldap.conf, but now I see the same strange
behaviour on a SuSE 10.0, Apache2 and PHP5 (ldap module linked
against the OpenLDAP libraries) connecting to a Fedora Directory
Server...
A 'ldapsearch' from the commandline works as expected, but
not the ldap_read() above...
Any ideas?