To verify that communications exist between the LDAP client and the LDAP server, use the ldaplist command.
Using the ldaplist command without options displays all the containers of the DIT on the server.
Using the ldaplist database command displays the contents of the specific database, such as ldaplist passwd username or ldaplist host hostname.