ID:               29587
 User updated by:  DavidSmith at byu dot net
 Reported By:      DavidSmith at byu dot net
-Status:           No Feedback
+Status:           Open
 Bug Type:         LDAP related
 Operating System: Fedora Core 1
 PHP Version:      4.3.8
 New Comment:

I'm not sure what version of the OpenLDAP client libs I was using. It's
whatever ships with FC1.

--Dave


Previous Comments:
------------------------------------------------------------------------

[2004-09-24 01:00:02] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2004-09-16 10:44:33] [EMAIL PROTECTED]

With what previous PHP version? And do you use the same openldap
library version as you did with the previous PHP version?

------------------------------------------------------------------------

[2004-08-09 16:31:47] DavidSmith at byu dot net

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"


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29587&edit=1

Reply via email to