#34005 [NEW]: ocipasswordchange() fails
From: uherj at avx dot cz
Operating system: WinNT
PHP version: 4.4.0
PHP Bug Type: OCI8 related
Bug description: ocipasswordchange() fails
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 bug report at http://bugs.php.net/?id=34005&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34005&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34005&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34005&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=34005&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=34005&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=34005&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=34005&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=34005&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=34005&r=support
Expected behavior: http://bugs.php.net/fix.php?id=34005&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=34005&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=34005&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=34005&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34005&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=34005&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=34005&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=34005&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=34005&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=34005&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=34005&r=mysqlcfg
Thread (9 messages)
- uherj at avx dot cz