#20713 [Bgs]: ldap_connect doesn't return FALSE
| From: | f dot labanvoye at cg70 dot fr | Date: | Fri, 29 Nov 2002 15:09:43 +0000 |
| Subject: | #20713 [Bgs]: ldap_connect doesn't return FALSE | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-26193@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
Bug Type: LDAP related
Operating System: windows and linux
PHP Version: 4.3.0RC2
New Comment:
Thanks for your answer.
I prefer the last answer (which is more clear) than the first.
I add a comment to the bug 15637
Previous Comments:
------------------------------------------------------------------------
[2002-11-29 08:32:12] sniper@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.
Thank you for your interest in PHP.
http://bugs.php.net/bug.php?id=15637
------------------------------------------------------------------------
[2002-11-29 07:04:49] f.labanvoye@cg70.fr
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
------------------------------------------------------------------------
[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