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
cn=Common,cn=Products,cn=OracleContext
orcldefaultsubscriber=dc=oracle,dc=com
- 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.
./oidrealm ldap_host ldap_port dc=mydomain,dc=com
- 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.
$ORACLE_HOME/bin/ldapsearch -h ldap_host -p port -D cn=orcladmin -w password -b “dc=mydomain,dc=com”-s base “objectclass=*”
About the Author Mahendra
I am engulfed in Oracle Identity & Access Management domain. I have expertise on providing the optimized solutions for user provisioning, web access management, Single Sign-On and federation capabilities etc., I am also well versed with complex integrations within Identity Management and other product domains. I have expertise on building demos and implementation experience on products Oracle Access Manager, Oracle Adaptive Access Manager, Oracle Entitlement Server, Oracle Virtual Directory, Oracle Internet Directory etc.,
Look @ my blog: http://talkidentity.blogspot.com