php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27053 Sybase does not allow empty password
Submitted: 2004-01-26 18:35 UTC Modified: 2004-01-26 18:54 UTC
From: php at dima dot spb dot ru Assigned:
Status: Not a bug Package: Sybase (dblib) related
PHP Version: 4.3.4 OS: RedHat 9
Private report: No CVE-ID: None
 [2004-01-26 18:35 UTC] 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'

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-26 18:54 UTC] derick@php.net
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
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 03:01:26 2019 UTC