ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
Support utilities for Java such as setting the host and port of the proxy server for internet access.
This package, and the user that owns it, are not installed by default by
OUI or DBCA.
Oracle Corp. changed MGDSYS to NO AUTHENTICATION but neglected to alter the package body code so that it would compile as can be seen at the bottom of the listing at right.
{ORACLE_HOME}/rdbms/admin/mgdus.sql
SQL> host
[oracle@test21 dbhome_1]$ cd rdbms/admin
[oracle@test21 admin]$ grep -ir "create user mgdsys"
mgdsys.sql: ' create user MGDSYS no authentication ';
SQL> @?/rdbms/admin/mgdsys.sql
Session altered.
.. Creating MGDSYS schema with no authentication
PL/SQL procedure successfully completed.
.. Altering MGDSYS schema with no authentication
User altered.
.. lock the user and expire the password
alter user MGDSYS ACCOUNT LOCK PASSWORD EXPIRE
*
ERROR at line 1:
ORA-28010: cannot expire external users, global users, or users with no authentication method
.. Granting permissions to MGDSYS
Grant succeeded.
Grant succeeded.
Call completed.
Call completed.
Call completed.
Call completed.
Call completed.
Session altered.
SQL> @?{ORACLE_HOME}/rdbms/admin/mgdus.sql
Session altered.
Package created.
No errors.
Package created.
Session altered.
SQL> @?/rdbms/admin/prvtmgdub.plb
Session altered.
Warning: Package Body created with compilation errors.
Errors for PACKAGE BODY DBMS_MGD_ID_UTL:
LINE/COL ERROR
-------- -----------------------------------------------------------------
0/0 PL/SQL: Compilation unit analysis terminated
1/14 PLS-00201: identifier 'DBMS_MGD_ID_UTL' must be declared
1/14 PLS-00304: cannot compile body of 'DBMS_MGD_ID_UTL' without its specification
Warning: Package Body created with compilation errors.
Session altered.
-- created a synonym to make one additional valiant attempt in 21c
SQL> CREATE SYNONYM dbms_mgd_id_utl FOR mgdsys.dbms_mgd_id_utl;
Synonym created.
-- the synonym did not help and it is not possible to fix the wrapped .PLB file.