I have had the opportunity to create a new realm in OID 11g and in this post I would like to provide the steps to achieve this.
- Export the ORACLE_HOME environment variable.
- Run the ldapsearch command to list the existing default subscriber. $ORACLE_HOME/bin/ldapsearch -h ldap_host -p port -D cn=orcladmin -w password -b “cn=common, cn=oraclecontext”-s base “objectclass=*” orcldefaultsubscriber
- The results would be like as shown below
- In our case the default realm is dc=oracle,dc=com
- Goto $ORACLE_HOME/ldap/bin
- Run oidrealm command as shown below to create a new realm. Enter the OID Admin password when it prompts.
- Check for the message Realm Updated as shown below which ensures that new realm dc=mydomain,dc=com is created.
- Check for the new realm using the ldapsearch command as shown below.
cn=Common,cn=Products,cn=OracleContext
orcldefaultsubscriber=dc=oracle,dc=com
./oidrealm ldap_host ldap_port dc=mydomain,dc=com
$ORACLE_HOME/bin/ldapsearch -h ldap_host -p port -D cn=orcladmin -w password -b “dc=mydomain,dc=com”-s base “objectclass=*”






Good hands-on exercises (installation, patching, cloning), very experienced trainer worth every penny 
No user commented in " How to create new realm in OID 11g? "
Follow-up comment rss or Leave a TrackbackLeave A Reply