Before You Begin
This tutorial shows you how to use a graphical user interface (GUI) to setup the directory server. This tutorial takes approximately 15 minutes to complete.
This is the fifth tutorial in the series Installing Oracle Unified Directory in
Collocated mode. Read them sequentially.
- Installing Oracle Fusion Middleware Infrastructure
- Installing Oracle Unified Directory Software
- Configuring a Domain for OUDSM using the WebLogic Scripting Tool
- Starting the Administration Server
- Setting up an Oracle Unified Directory as an LDAP Directory Server Instance
- Accessing Oracle Unified Directory using Oracle Unified Directory Services Manager
Background
You can set up an Oracle Unified Directory LDAP Directory Server instance using either the graphical user interface (GUI) or the command-line interface (CLI). Before you set up an LDAP directory server instance, you must have already installed the software.
What Do You Need?
- To have followed OBE IV: Starting the Administration Server
Setting
up the Directory Server using the Graphical User Interface (GUI)
- Launch a terminal window as
oracleand enter the following command to check that yourPATHis pointing to the correct version of the JDK:
# java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Note: The certified minimum java version is 1.8.0_144
- Navigate to the
ORACLE_HOMEdirectory, where you installed the Oracle Unified Directory software.
Run theoud-setupcommand to setup a directory server instance. This command launches a Java-based graphical user interface (GUI) installer that enables you to set up the directory server, load it with data, and get it running.
# cd $OUD_ORACLE_HOME
# ./oud-setup
-
Follow the table below to guide you through the setup screens:
Step Window Description Choices or Values 1. Welcome Click Next 2. Server Administration Settings Skip Auto Updates 3. Installation Location Instance Path: /u01/app/oracle/config/oud_instances/oud_c1Host Name:
abc.example.com
Administration Port(s): Enable Administration only with LDAP
LDAP Port:4444
Root User DN:cn=Directory Manager
Password:*******
Password (confirm):*******4. Ports Enable LDAP and enter the port number on which the directory server listens for connections. The default secure port is 1389.
Click Next5. Topology Options Select This will be a stand alone server 6. Directory Data Verify that:
- the default Base DN is
dc=example,dc=com - the Directory Data is set to Import
Automatically-Generated Sample Data
Number of User Entries: 20
7. Oracle Components Integration Verify that No specific integration is selected. Click Next 8. Server Tuning Click Next 9. Review Verify that "Start Server when Configuration has Completed" is selected. Click Finish 10. Finished Verify that Oracle Unified Directory setup is completed successfully. Click Close - the default Base DN is
-
Test whether the directory server has been set up and started successfully by searching an entry in the directory:
# cd $OUD_INSTANCES_HOME/oud_c1/bin
# ./ldapsearch -h localhost -p 1389 -D "cn=Directory manager" -w ******* -b "dc=example,dc=com" -s sub "objectclass=*" --countEntries | grep "uid"
dn: uid=user.0,ou=People,dc=example,dc=com
dn: uid=user.1,ou=People,dc=example,dc=com
dn: uid=user.2,ou=People,dc=example,dc=com
dn: uid=user.3,ou=People,dc=example,dc=com
. . .
dn: uid=user.16,ou=People,dc=example,dc=com
dn: uid=user.17,ou=People,dc=example,dc=com
dn: uid=user.18,ou=People,dc=example,dc=com
dn: uid=user.19,ou=People,dc=example,dc=com
Note: The password you provide for the argument
-w must be same as in the step3-3.
Next
Tutorial
Accessing Oracle Unified Directory using Oracle Unified Directory Services Manager
Setting
up an Oracle Unified Directory as an LDAP Directory Server