Oracle Internet Directory
From Oracle FAQ
Oracle Internet Directory (OID) is a standard LDAP directory server. OID is part of the Oracle Application Server.
Contents |
[edit]
Start and stop the OID server
To start OID:
${ORACLE_HOME}/opmn/bin/opmnctl start
To stop:
${ORACLE_HOME}/opmn/bin/opmnctl stop
[edit]
OID Utilities
Some related utilities to manage OID entries:
[edit]
LDAP bind
Test if you can bind (connect) to the OID server:
$ ldapbind -p 389 -h my-host-name -D "cn=orcladmin" bind successful
[edit]
Add OID entries
Add an entry/ entries to the OID server:
$ ldapadd -h my-host-name -p 389 -D "cn=orcladmin" -w mypassword -f onames.ldif
[edit]
Lookup OID entries
Lookup an SQL*Net Service Name (in the example below, extract orclnetdescstring for TESTENTRY) in the OID directory:
ldapsearch -h my-host-name -p 389 -D "cn=orcladmin" cn=TESTENTRY orclnetdescstring
[edit]
Modify an OID entry
ldapmodify ...
[edit]
Delete an OID entry
ldapdelete -h my-host-name -p 389 -D "cn=orcladmin" -w mypassword "cn=TESTENTRY,cn=OracleContext,dc=mycompany,dc=com"

