OIDADPSWD Package Invalid After Running PSA for ODS Schema After Applying OID PatchSet (PS6)

(Doc ID 1905697.1)

Last updated on MARCH 08, 2017

Applies to:

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


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 following:

Oracle® Fusion Middleware Patching Guide 11g Release 1 ( 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 upgrade.  The previous version of the ODS.LDAP_PLUGIN package, i.e., 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 OID update.  Able to reference another test build that still has OID, and that version has the functions called by OIDADPSWD.  In fact the code in OID matches line for line to a production OID install.  Seems that, until 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).


Upgraded to


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