From: [EMAIL PROTECTED] Operating system: Sun Solaris 2.7 (32 bit) PHP version: 4.1.0 PHP Bug Type: LDAP related Bug description: Problem with searchin single signed LDAP base name dc=<something>
<script LANGUAGE="PHP"> $ds=ldap_connect("ds.carnet.hr"); $r=ldap_bind($ds); $dn = 'dc=hr'; $filter="(o=*)"; $justthese = array( "dc"); $sr=ldap_search($ds, $dn, $filter, $justthese); $info = ldap_get_entries($ds, $sr); print $info["count"]." entries returned<p>"; ldap_close($ds); </script> Warning: LDAP: Unable to perform the search: No such object in /web/www/htdocs/ltest/bug.php on line 11 Warning: Supplied argument is not a valid ldap result resource in /web/www/htdocs/ltest/bug.php on line 13 entries returned - When puting $dn equal anything else then single signed base name (dc=<something>), script work without warning. ./configure --with-mysql --with-gd --with-ldap=/home/ldap/ldap --with-config-file-path=/usr/local/apache --prefix=/usr/local/apache --enable-ftp --with-ftp --enable-track-vars --with-apache=/opt/apache_1.3.22 --with-curl=/usr/local -- Edit bug report at: http://bugs.php.net/?id=14693&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]