ID:               34005
 Updated by:       [EMAIL PROTECTED]
 Reported By:      uherj at avx dot cz
 Status:           Assigned
 Bug Type:         OCI8 related
 Operating System: *
 PHP Version:      5CVS, 4CVS (2005-12-25) (snap)
 Assigned To:      tony2001
 New Comment:

No. Feel free to provide one.


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

[2006-01-05 23:40:48] gcombe at co dot weber dot ut dot us

so is there a fix for this or not?

------------------------------------------------------------------------

[2005-12-26 17:26:27] [EMAIL PROTECTED]

Assuming this happens also with new oci code.

------------------------------------------------------------------------

[2005-08-05 13:40:04] uherj at avx dot cz

this bug shows only when user account return warning:

Warning: ocilogon(): OCISessionBegin: OCI_SUCCESS_WITH_INFO: ORA-28002:
the password will expire within 10 day

------------------------------------------------------------------------

[2005-08-05 10:54:46] [EMAIL PROTECTED]

FYI ocipasswordchange() passes correct string to OCI funcs.
No idea why it fails.

------------------------------------------------------------------------

[2005-08-05 10:51:19] uherj at avx dot cz

Description:
------------
after sucessful connecting retuns function ocipasswordchange() this
output:
Warning: ocipasswordchange(): OCIPasswordChange: ORA-28008: invalid old
password

Password is not changed and ocierror() is empty. With
ociinternaldebug(1) do not returns any messaged related to change of
passwords.

---------------------------
Oracle versions are:
Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production 
PL/SQL Release 9.2.0.4.0 - Production 
CORE 9.2.0.3.0 Production 
TNS for VMS: Version 9.2.0.4.0 - Production 
NLSRTL Version 9.2.0.4.0 - Production 

PHP:windows binary distribution, CGI

Reproduce code:
---------------
$con=ocilogon($user,$password,$dbstring);
$ch=ocipasswordchange($con, $user, $password, $password_new1);

Note: same behaviour when passed wrong password:
$ch=ocipasswordchange($con, $user, "blahblah", $password_new1);


Expected result:
----------------
change password or return relevant error from Oracle

Actual result:
--------------
do not change password, because PHP function ocipasswordchange() passed
wrong string to Oracle function OCIPasswordChange


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=34005&edit=1

Reply via email to