ID:               33365
 Updated by:       [EMAIL PROTECTED]
 Reported By:      uherj at avx dot cz
-Status:           Open
+Status:           Feedback
 Bug Type:         OCI8 related
 Operating System: windows
 PHP Version:      4.3.11
 New Comment:

You don't have to update PHP installed to try newer version.



Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to