php.net |  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
 [2005-07-26 14:30 UTC] moreauv at ppg dot com
Description:
------------
Hi,

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,

Vincent


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-26 14:33 UTC] tony2001@php.net
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] tony2001@php.net
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 10:01:29 2024 UTC