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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php at dima dot spb dot ru
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 09:01:29 2025 UTC