Modifying the local LDAP name

To modify the local LDAP name, perform the following steps:

  1. Make a backup copy of the LDAP configuration file as follows:
    cp -p /etc/nslcd.conf /etc/nslcd.conf.bk
  2. Modify the value of the base and uri settings in the /etc/nslcd.conf file as in the following example:
    base dc=tem,dc=test,dc=com
    uri ldap://winserver.tem.test.com
  3. Restart the local LDAP name service daemon:
    service nslcd restart
  4. Ensure that the local LDAP name service daemon (nslcd) is set to start with the server:
     chkconfig nslcd on