|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-16 18:04 UTC] sniper@php.net
[2005-06-17 08:53 UTC] uherj at avx dot cz
[2005-06-17 11:03 UTC] tony2001@php.net
[2005-06-17 11:43 UTC] uherj at avx dot cz
[2005-06-17 14:32 UTC] tony2001@php.net
[2005-06-17 15:18 UTC] uherj at avx dot cz
[2005-06-17 21:01 UTC] tony2001@php.net
[2005-06-18 21:32 UTC] uherj at avx dot cz
[2005-06-18 21:56 UTC] tony2001@php.net
[2005-09-08 11:48 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 20:00:01 2025 UTC |
Description: ------------ OCIlogon do not returns connection resource for account with expired password. ocierror() contain: [code] => 28001 [message] => ORA-28001: the password has expired Is unable to call OCIpasswordchange without existing resource. (return same error) (similar problem in Bug #31623 - not fully resolved) Reproduce code: --------------- 1.create new user account with expired password 2.try: $user="newaccount"; $password="password"; $dbstring="(DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)"; $dbstring.="(HOST = $server)(PORT = 1521)))"; $dbstring.="(CONNECT_DATA = (SID = $sid)) )"; $con=ocilogon($user,$password,$dbstring); $conerr=ocierror(); print_r($conerr); echo "resource connection:".$con; Expected result: ---------------- there could be error retrieved by ocierror() (information), OCIlogon() should return resource. Actual result: -------------- no resource returned by OCIlogon()