#20713 [Bgs->Opn]: ldap_connect doesn't return FALSE
| From: | f dot labanvoye at cg70 dot fr | Date: | Fri, 29 Nov 2002 13:04:50 +0000 |
| Subject: | #20713 [Bgs->Opn]: ldap_connect doesn't return FALSE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26178@lists.php.net to get a copy of this message | ||
ID: 20713
User updated by: f.labanvoye@cg70.fr
Reported By: f.labanvoye@cg70.fr
-Status: Bogus
+Status: Open
Bug Type: LDAP related
Operating System: windows and linux
PHP Version: 4.3.0RC2
New Comment:
Soorry, but i don't ask support for PHP. I think your answer don't help
user to love people, because you don't take care about bug submitted. I
spent time to test PHP when i see strange bahaviour of PHP
so for my problem, the documention is (on zend site) for ldap_connect:
ldap_connect() establishes a connection to a LDAP server on a specified
hostname and port. Both the arguments are optional. --> If no arguments
are specified then the link identifier of the already opened link will
be returned.
In my script i don't have any previous opened link, so i think the
function would return FALSE.
Or the documention is wrong and need correction.
Sincerely
Previous Comments:
------------------------------------------------------------------------
[2002-11-29 06:25:06] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2002-11-29 02:45:12] f.labanvoye@cg70.fr
Hello,
when i call the ldap_connect without any param, i don't get FALSE.
<?php
$ds = ldap_connect ( );
echo $ds; // --> i get ressource id #2
?>
But the connection is not possible.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20713&edit=1