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

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

The LDAP chapters describe how to set up a Solaris LDAP naming services client to work with SunTM ONE Directory Server 5.1 (formerly iPlanetTM Directory Server 5.1). A brief description of generic directory server requirements appears in Chapter 18, 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 environment.

Suggested Background Reading

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

Additional Prerequisites

If you are transitioning from using NIS+ to using LDAP, refer to Chapter 19, Transitioning From NIS+ to LDAP. Complete the transition before proceeding with these chapters.

If you need to install Sun ONE Directory Server 5.1, refer to the Sun ONE Directory Server 5.1 Installation Guide.

LDAP Naming Services Compared to Other Naming Services

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

 

DNS 

NIS 

NIS+ 

FNS 

LDAP 

Namespace

Hierarchical 

Flat 

Hierarchical 

Hierarchical 

Hierarchical 

Data Storage

Files/resource records 

2 column maps 

Multi— columned tables 

Maps 

Directories (varied) 

Indexed database 

Servers

Master/slave 

Master/slave 

Root master/ 

non-root master; primary/ 

secondary; cache/stub 

N/A 

Master/replica 

Multi master replica 

Security

None 

None (root or nothing) 

DES- 

Authentication  

None (root or nothing) 

SSL, varied 

Transport

TCP/IP 

RPC 

RPC 

RPC 

TCP/IP 

Scale

Global 

LAN 

LAN 

Global (with DNS)/LAN 

Global 

Using Fully Qualified Domain Names

Unlike NIS or NIS+ clients, an LDAP client always returns a fully qualified domain name (FQDN) for a host name. The LDAP FQDN is similar to the FQDN returned by DNS. For example, suppose your domain name is the following:


west.example.net

Both gethostbyname() and getipnodebyname() return the FQDN version when looking up the host name server:


server.west.example.net

Also, if you use interface-specific aliases such asserver-#, a long list of fully qualified host names are returned. If you are using host names to share file systems or have other such checks, you must account for the checks. For example, if you assume non-FQDNs for local hosts and FQDNs only for remote DNS-resolved hosts, you must account for the difference. If you set up LDAP with a different domain name from DNS, the same host might end up with two different FQDNs, depending on the lookup source.

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.


New LDAP Naming Services Features for Solaris 9

Transitioning from NIS+ to LDAP


Note –

NIS+ might not be supported in a future release. Tools to aid the migration from NIS+ to LDAP are available in the Solaris 9 operating environment.

For more information, go tohttp://www.sun.com/directory/nisplus/transition.html.


For information about transitioning from NIS+ to LDAP, refer to Chapter 19, Transitioning From NIS+ to LDAP.

LDAP Naming Services Setup (Task Map)

Task 

For Instructions 

Plan the network model 

Planning the Network Model

Plan the DIT 

Planning the Directory Information Tree (DIT)

Set up replica servers 

Replica Servers

Plan the security model 

Planning the Security Model

Choose client profiles and default attribute values 

Planning Client Profiles and Default Attribute Values

Plan the data population 

Planning the Data Population

Configure Sun ONE Directory Server 5.1 prior to using it with LDAP naming servicess 

Using Express and Typical Configuration

Set up Sun ONE Directory Server 5.1 for use with LDAP naming clients 

Chapter 15, Setting Up Sun ONE Directory Server 5.1 (Tasks)

Manage printer entries 

Managing Printer Entries

Initialize an LDAP client 

Initializing a Client

Initialize a client 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 Client Environment