From:             [EMAIL PROTECTED]
Operating system: RedHat 8
PHP version:      4.3.0
PHP Bug Type:     LDAP related
Bug description:  ldap_connect returns LDAP link identifier on error.

ldap_connect returns LDAP link identifier on error
 The source:
// LDAP variables
$ldaphost = "nonexistendserver";  // your ldap servers
$ldapport = 389;                 // your ldap server's port number

// Connecting to LDAP
$ldapconn = ldap_connect( $ldaphost, $ldapport ) 
          or die( "Could not connect to {$ldaphost}" );
echo $ldapconn;

returns sth like this:

Resource id #11 

Any ideas???

-- 
Edit bug report at http://bugs.php.net/?id=21214&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21214&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21214&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21214&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21214&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21214&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21214&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21214&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21214&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21214&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21214&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21214&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21214&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21214&r=isapi

Reply via email to