PHP :: Bug #34005 :: ocipasswordchange() fails
| Bug #34005 | ocipasswordchange() fails | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Submitted: | 2005-08-05 10:51 UTC | Modified: | 2006-06-05 07:35 UTC |
|
||||||||||
| From: | uherj at avx dot cz | Assigned: | tony2001 (profile) | |||||||||||
| Status: | Closed | Package: | OCI8 related | |||||||||||
| PHP Version: | 5CVS, 4CVS (2005-12-25) (snap) | OS: | * | |||||||||||
| Private report: | No | CVE-ID: | None | |||||||||||
[2005-08-05 10:51 UTC] 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
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2005-08-05 10:54 UTC] tony2001@php.net
[2005-08-05 13:40 UTC] uherj at avx dot cz
[2005-12-26 17:26 UTC] sniper@php.net
[2006-01-05 23:40 UTC] gcombe at co dot weber dot ut dot us
[2006-03-21 03:53 UTC] maxim@php.net
[2006-03-21 10:06 UTC] tony2001@php.net
[2006-06-05 07:35 UTC] tony2001@php.net