The first step in configuring Enterprise User Security is to configure the database to use the directory. Running the Net Configuration Assistant (NetCA) tool enables you to configure the directory host name and port that your database should use.
To configure your database for directory usage:
Start NetCA using the netca
command.
On Windows, you can also start NetCA from the Start menu:
Click Start, All Programs, Oracle - OracleHomeName, Configuration and Migration Tools, Net Configuration Assistant.
On Unix systems, you can start NetCA using the following command:
$ORACLE_HOME
/bin/netca
The Welcome screen appears.
Select Directory Usage Configuration. Click Next.
The Directory Type screen appears.
Click Next.
The Directory Location screen appears.
Enter the name of the host on which the Oracle Internet Directory server is running. Also enter the LDAP non-SSL and SSL port numbers. These port numbers are 3060 and 3131 by default. Click Next.
The Select Oracle Context screen appears.
Select the default Oracle Context to use. You need to select this if there are multiple identity management realms on the directory server. Click Next.
The Directory Usage Configuration, Done screen is displayed.
Confirm that the directory usage configuration is successfully completed. Click Next.
Click Finish.
NetCA creates an ldap.ora
file in the $ORACLE_HOME
/network/admin
directory. This is the $ORACLE_HOME
\network\admin
directory in Windows. The ldap.ora
file stores the connection information details about the directory.