LDAP Setup and Configuration Guide

ldapclient Cannot Bind to Server

ldapclient failed to initialize the client when using the -P profile option. There are several possible reasons for this failure

  1. Check that the ldap_cachemgr is running (ps -ef |grep ldap) should show it running.

  2. Try running ldapclient -l to check out the contents of the LDAP client cached files.


    Note –

    Do not try to read the configuration and credential files directly as there is no guarantee they are in ASCII readable format.


  3. nisDomain attribute is not set in the DIT to represent the entry point for the specified client domain.

  4. Virtual list view indexing is not set up properly on the server.

  5. Access control information is not set up properly on the server; thus disallowing anonymous search in the LDAP database.

  6. Incorrect server address passed to the ldapclient command. Use ldapsearch(1) to verify the server address

  7. Incorrect profile name passed to the ldapclient command. Use ldapsearch(1) to verify the profile name in the DIT.

  8. Use snoop(1M) on the client's network interface to see what sort of traffic is going out, and determine to which server it is talking.