ORA-01017 when changing expired password using OCIPASSWORDCHANGE against 11.1

(Doc ID 788538.1)

Last updated on FEBRUARY 14, 2018

Applies to:

Oracle Forms - Version to [Release Oracle10g to]
Oracle Server - Enterprise Edition - Version to [Release 10.1 to 10.2]
JDBC - Version to [Release 10.1 to 10.2]
Information in this document applies to any platform.
Oracle Server Enterprise Edition - Version: to
Checked for relevance on 26-May-2011
***Checked for relevance on 30-Oct-2012***


ORA-01017 is returned when trying to change an expired password.  This reproduces with 10.1 & 10.2 OCI clients connecting to a 11.1 RDBMS.
This occurs with all OCI clients, for example:
- OCI using OCIPasswordChange()
- PHP using oci_password_change()
- JDBC/OCI, that uses OCINewPassword:

Properties properties;
properties = new Properties();
properties.put("OCINewPassword", newPassword);

- Oracle Forms:
reference: <Note 742961.1>: ORA-1017 Invalid Username/Password; Logon Denied. When Attempting to Change An Expired Password


upgrade to RDBMS 11.1


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms