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
$ORACLE_HOME/bin/ldapsearch -h ldap_host -p port -D cn=orcladmin -w password -b “dc=mydomain,dc=com”-s base “objectclass=*”
Comments are closed.