LDAP Setup and Configuration Guide

NIS/NIS+ to LDAP Transition

If you have upgraded a machine to SunOS 5.8 (Solaris 8) that was a NIS/NIS+ client and want to make it an LDAP client, run ldapclient(1M).

To run ldapclient you need to know the profile name and the IP address of at least one server. In the following example the profile name is myprofile and the LDAP server is at IP address 100.100.100.100 that runs on the default LDAP port number of 389.

Create an LDAP Client
  1. Become super user.

  2. Run ldapclient(1M).


    # ldapclient -P myprofile 100.100.100.100

    ldapclient creates the configuration files and configures the client to use LDAP for name service lookups by modifying the /etc/nsswitch.conf file.

  3. Reboot the client.

login to authenticate using ldap.