OIDADPSWD Package Invalid After Running PSA for ODS Schema After Applying OID 11.1.1.7 PatchSet (PS6) (Doc ID 1905697.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Upgrading from an Oracle Internet Directory (OID) 10gAS instance which was using the pl/sql external authentication plugins.

The upgrade also involved creating/using the new java based plugins, which are now in use and working, and no longer using the plsql plugins that were in place in 10g.

However, when patching to OID 11.1.1.7 following:

Oracle® Fusion Middleware Patching Guide 11g Release 1 (11.1.1.7.0) Part Number E16793-25
Chapter 4 "Updating your Schemas with Patch Set Assistant
Section 4.4.4 "Checking for invalid database Objects"

At this point, the package ODS.OIDADPSWD is invalid and will not compile.

Reviewing the dba_errors log, it fails in two sections of the code - both of which are calling the package ODS.LDAP_PLUGIN and use the function get_adupname contained within.

The problem seems to be that a new ODS.LDAP_PLUGIN package was installed with the 11.1.1.7 upgrade.  The previous version of the ODS.LDAP_PLUGIN package, i.e. 11.1.1.6, contains the functions needed.

So seems the code in the LDAP_PLUGIN package changed.  Several functions were removed with the running of Patch Set Assistant (PSA) under the 11.1.1.7 OID update.  Able to reference another test build that still has 11.1.1.6 OID, and that version has the functions called by OIDADPSWD.  In fact the code in 11.1.1.6 OID matches line for line to a production 10.1.2.3 OID install.  Seems that, until 11.1.1.7 came along, then that the package was modified.

For now as a workaround, just ignoring the package validation since it is not longer needed or used (as the java based plugins are used instead).

Changes

Upgraded to 11.1.1.7.

Cause

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