ID: 33365 Updated by: [EMAIL PROTECTED] Reported By: uherj at avx dot cz -Status: Open +Status: Bogus Bug Type: OCI8 related Operating System: windows PHP Version: 4.3.11 New Comment:
Full stop. You're trying to connect with an *expired* login/password. Why do you expect it to work? Bug #31623 reports about quite different problem - the password it still valid, but will expire in next N days, that's why it's allowed to connect. So I don't see any reason to call it "bug", because the reason why it refuses to connect is perfectly valid to me. Previous Comments: ------------------------------------------------------------------------ [2005-06-17 11:43:56] uherj at avx dot cz I downloaded latest PHP5 and tried it under this one. This bug shows in PHP5 too. ------------------------------------------------------------------------ [2005-06-17 11:03:21] [EMAIL PROTECTED] You don't have to update PHP installed to try newer version. ------------------------------------------------------------------------ [2005-06-17 08:53:11] uherj at avx dot cz Our production environment use PHP 4.3.xx. ------------------------------------------------------------------------ [2005-06-16 18:04:07] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip ------------------------------------------------------------------------ [2005-06-16 17:32:45] uherj at avx dot cz 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() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=33365&edit=1