|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33866 OCIlogon do not returns conn resource for account with expired paswd
Submitted: 2005-07-26 14:30 UTC Modified: 2005-09-08 11:48 UTC
From: moreauv at ppg dot com Assigned: tony2001 (profile)
Status: Closed Package: OCI8 related
PHP Version: 4.4.0 OS: Windows 2000
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: moreauv at ppg dot com
New email:
PHP Version: OS:


 [2005-07-26 14:30 UTC] moreauv at ppg dot com

PHP OCIlogon do not returns a valid connection resource for account with expired password.

ocierror() contain:
    [code] => 28001
    [message] => ORA-28001: the password has expired

Oracle OCI return code OCI_SUCCESS_WITH_INFO is returned when issuing a OCIlogon with an expired password, and a valid connection ressource is returned by Oracle.

A connection resource is needed to call OCIpasswordchange.

Thanks for your help,



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-26 14:33 UTC]
In any case this will not be changed in PHP4.
 [2005-07-26 14:37 UTC] moreauv at ppg dot com
According to Bug #33365, it is not working in PHP 5 either
 [2005-09-08 11:48 UTC]
The bug has been fixed in OCI8 v.1.1, which is available in CVS HEAD and PECL (use `pear install oci8-beta` to install it).
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Mar 25 14:04:13 2023 UTC