My Oracle Support Banner

How to Remove an OID Realm (Doc ID 604884.1)

Last updated on MARCH 06, 2023

Applies to:

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



Most of steps documented here apply also for OID 12c. But OIDDAS and SSO were components that were part of OID 10g and some installations with OID 11g, but not anymore in OID 12c. So, specific steps and comments on this document about OIDDAS and SSO not apply for OID 12c.
Reference about oidrealm tool for OID 12c can be found on next reference:

Reference for Oracle Identity Management
2 Oracle Internet Directory Administration Tools
2.8 Oracle Internet Directory Realm Tool

As documentation states, oidrealm tool supports creation but not deletion of a realm. For deletion, the following steps can be implemented.

This document explains how a realm can be properly deleted from OID through 12c, so that OIDDAS and SSO still function correctly.

During installation a default realm is created.
The entry "cn=Common,cn=Products,cn=OracleContext" contains information about the default realm and the default realm searchbases. Use the following command to check the settings:

In the case where the new realm being created is in 11g and 12c has the same name with a different attribute (e.g., o=internal vs ou=internal) as a realm which previously existed, additional steps will also be necessary. See the steps at the bottom of this note when a realm was created in ADDITION to the default realm, then it was deleted using bulkdelete.


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.