ID: 34005 Updated by: [EMAIL PROTECTED] Reported By: uherj at avx dot cz -Status: Open +Status: Assigned Bug Type: OCI8 related Operating System: WinNT PHP Version: 4.4.0 -Assigned To: +Assigned To: tony2001 New Comment:
FYI ocipasswordchange() passes correct string to OCI funcs. No idea why it fails. Previous Comments: ------------------------------------------------------------------------ [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