#27053 [Opn->Bgs]: Sybase does not allow empty password
| From: | derick@php.net | Date: | Mon, 26 Jan 2004 23:54:10 +0000 |
| Subject: | #27053 [Opn->Bgs]: Sybase does not allow empty password | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53922@lists.php.net to get a copy of this message | ||
ID: 27053
Updated by: derick@php.net
Reported By: php at dima dot spb dot ru
-Status: Open
+Status: Bogus
Bug Type: Sybase (dblib) related
Operating System: RedHat 9
PHP Version: 4.3.4
New Comment:
This is a pear related bug, please file it at
http://bugs.pear.php.net/bugs/report.php?package=DB
as it has nothing
to do with the PHP source itself.
regards,
Derick
Previous Comments:
------------------------------------------------------------------------
[2004-01-26 18:35:44] php at dima dot spb dot ru
Description:
------------
// $Id: sybase.php,v 1.13 2003/09/07 10:55:51 cox Exp $
line 99
if ($interface && $user && $pw) {
$conn = $connect_function($interface, $user, $pw);
} else {
$conn = FALSE;
}
the check of $pw in the 'if' expression effectively disables using
account with empty password. These are valid for MSSQL
Expected result:
----------------
it should connects normally
Actual result:
--------------
reports 'connection failed'
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=27053&edit=1