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.
Become super user.
# 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.
Reboot the client.
login to authenticate using ldap.