System Administration Guide: Naming and Directory Services (DNS, NIS, and LDAP)

Chapter 8 Introduction to LDAP Naming Services (Overview/Reference)

The LDAP chapters describe how to set up a Solaris LDAP naming services client to work with Sun Java System Directory Server (formerly Sun ONE Directory Server). However, while using the Sun Java System Directory Server is recommended, it is not required. A brief description of generic directory server requirements appears in Chapter 14, LDAP General Reference (Reference).

Note –

A directory server is not necessarily an LDAP server. However, in the context of these chapters, the term “directory server” is synonymous with “LDAP server.”

Audience Assumptions

The LDAP naming services chapters are written for system administrators who already have a working knowledge of LDAP. Following is a partial list of concepts with which you must be very familiar. Otherwise, you might have difficulty using this guide to deploy LDAP naming services in the Solaris system.

Suggested Background Reading

To learn more about any of the preceding concepts or to study LDAP and the deployment of directory services in general, refer to the following sources:

Additional Prerequisite

If you need to install Sun Java System Directory Server, refer to the Installation Guide for the version of Sun Java System Directory Server that you are using.

LDAP Naming Services Compared to Other Naming Services

The following table shows a comparison between the DNS, NIS, and LDAP naming services.









Data Storage

Files/resource records 

2 column maps 

Directories (varied) 

Indexed database 





Multi master replica 



None (root or nothing) 

SSL, varied 









Advantages of LDAP Naming Services

Restrictions of LDAP Naming Services

Following are some restrictions associated with LDAP naming services:

Note –

A directory server (an LDAP server) cannot be its own client. That is, you cannot configure the machine that is running the directory server software to become an LDAP naming services client.

LDAP Naming Services Setup (Task Map)


For Instructions 

Confirm that patch is installed 


Plan the network model 

Planning the LDAP Network Model

Plan the DIT 

Chapter 10, Planning Requirements for LDAP Naming Services (Tasks)

Set up replica servers 

LDAP and Replica Servers

Plan the security model 

Planning the LDAP Security Model

Choose client profiles and default attribute values 

Planning Client Profiles and Default Attribute Values for LDAP

Plan the data population 

Planning the LDAP Data Population

Configure Sun Java System Directory Server prior to using it with LDAP naming services 

Sun ONE Directory Server 5.2 (Solaris Edition)

Set up Sun Java System Directory Server for use with LDAP naming clients 

Chapter 11, Setting Up Sun Java System Directory Server With LDAP Clients (Tasks)

Manage printer entries 

Managing Printer Entries

Initialize an LDAP client 

Initializing an LDAP Client

Initialize a client by using profiles 

Using Profiles to Initialize a Client

Initialize a client manually  

Initializing a Client Manually

Uninitialize a client 

Uninitializing a Client

Use service search descriptors to modify client profiles 

Using Service Search Descriptors to Modify Client Access to Various Services

Retrieve naming service information 

Retrieving LDAP Naming Services Information

Customize a client environment 

Customizing the LDAP Client Environment