#34005 [Opn->Asn]: ocipasswordchange() fails

From: Date: Fri, 05 Aug 2005 08:54:47 +0000
Subject: #34005 [Opn->Asn]: ocipasswordchange() fails
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-83004@lists.php.net to get a copy of this message
 ID:               34005
 Updated by:       tony2001@php.net
 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


Thread (9 messages)

« previous php.bugs (#83004) next »