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

Prerequisites to LDAP Client Setup

In order for a Solaris client to use LDAP as a naming service the following needs to be in place.

  • The client's domain name must be served by the LDAP server

  • The nsswitch.conf file needs to point to LDAP for the required services

  • The client needs to be configured with all the given parameters that define its behavior

  • ldap_cachemgr needs to be running on the client

  • At least one server for which a client is configured must be up and running

The ldapclient utility is the key to setting up an LDAP client, as it performs all of the above steps, except for starting the server. The rest of this chapter will show examples of how to use the ldapclient utility to set up an LDAP client and use the various other LDAP utilities to get information about, and check the status of, an LDAP client.

Previous Next