|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-09-16 10:44 UTC] sniper@php.net
[2004-09-24 05:54 UTC] DavidSmith at byu dot net
[2004-09-24 05:54 UTC] DavidSmith at byu dot net
[2004-09-24 14:32 UTC] derick@php.net
[2004-09-24 15:23 UTC] DavidSmith at byu dot net
[2004-09-28 00:17 UTC] DavidSmith at byu dot net
[2004-10-01 10:08 UTC] sniper@php.net
[2004-10-01 15:26 UTC] DavidSmith at byu dot net
[2005-02-03 04:51 UTC] sniper@php.net
[2005-02-16 22:58 UTC] deon at wurley dot net
[2005-03-08 00:51 UTC] DavidSmith at byu dot net
[2005-03-09 01:06 UTC] sniper@php.net
[2005-03-09 01:43 UTC] DavidSmith at byu dot net
[2005-03-09 01:47 UTC] DavidSmith at byu dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 10:00:01 2025 UTC |
Description: ------------ With PHP 4.3.8, I get a "No such object" error when attempting to read the LDAP RootDSE. The code works fine with previous versions of PHP. I tested with both OpenLDAP 2.1.22 and Novell eDirectory. phpLDAPadmin (all versions) relies on this functionality. Reproduce code: --------------- $ds = ldap_connect( "localhost" ); ldap_bind( $ds ); // Problem is here: $r = @ldap_read( $ds, '', 'objectClass=*', array('+') ); var_dump( $r ); var_dump( ldap_error( $ds ) ); Expected result: ---------------- resource(2) of type (ldap result) string(7) "Success" Actual result: -------------- bool(false) string(14) "No such object"