Go to main content

Working With Oracle® Solaris 11.4 Directory and Naming Services: LDAP

Exit Print View

Updated: November 2020
 
 

How to Pre-Configure a Newly Installed System to be an OpenLDAP Server

Perform this procedure if you are running the ldapservercfg utility on a newly installed Oracle Solaris system.

  1. Make sure the service/network/ldap/openldap package is installed.

    Note -  The OpenLDAP server package, service/network/ldap/openldap, must be installed on the same Oracle Solaris server where you will execute the ldapservercfg utility.
    $ pkg list service/network/ldap/openldap

    If the service/network/ldap/openldap package is not installed, use the following command:

    # pkg install service/network/ldap/openldap
  2. Check whether the Domain Name System (DNS) service is working correctly.

    Use the following command to verify that the server’s Fully Qualified Domain Name (FQDN) is available:

    $ host hostname

    Verify that the hostname resolves to its FQDN name in DNS:

    # uname -n
    server.example.com
    # host server
    server.example.com has address 192.0.2.0

    For more information about the DNS service, see Chapter 3, Managing DNS Server and Client Services in Working With Oracle Solaris 11.4 Directory and Naming Services: DNS and NIS.