Error Messages for Failed Connections to LDAP Directories

This article contains the following topics:
casm1401
This article contains the following topics:
Failed Connection Server Down or Incorrect Name or Port
If the connection fails because the server is down or you specified an incorrect LDAP server name or port, you receive output similar to the following:
Starting pdm_ldap_test... LDAP service type=active directory Service Desk platform=windows Using search base=DC=mycontroller,DC=xyz,DC=com Using filter=(&(objectCategory=person)) ldap_init(junk,389): (Success) ldap_bind_s(Administrator) (Server Down)
Failed Connection Invalid LDAP_DN or LDAP_PWD
If the connection fails because you specified an incorrect LDAP_DN or LDAP_PWD, you receive output similar to the following:
Starting pdm_ldap_test... LDAP service type=active directory Service Desk platform=windows Using search base=DC=mycontroller,DC=xyz,DC=com Using filter=(&(objectCategory=person)) ldap_init(myserver.mycontroller.xyz.com,389): (Success) ldap_bind_s(junk) (No Such Object or Invalid Credentials)
Failed Search Invalid SEARCH_BASE
If the search fails because you have an invalid SEARCH_BASE, you receive output similar to the following:
Starting pdm_ldap_test... LDAP service type=edirectory Service Desk platform=windows Using search base=o=SmartLabsx Using filter=(&(objectClass=InetOrgPerson) ldap_init(155.35.173.110,15389): (Success) ldap_bind_s() (Success) LDAP API Verion 3 ldap_search_st() (No Such Object or Referral)
Failed Search SIZELIMIT_EXCEEDED, TIMEOUT
The search can fail with a SIZELIMIT_EXCEEDED or TIMEOUT message if you specify a filter that does not sufficiently narrow the search. Most LDAP Servers limit the size of the result set returned from a search request. If you exceed this limit, you receive a SIZELIMIT_EXCEEDED message. If your search request takes longer than the default timeout of 20 seconds, the LDAP server times out your request and you receive a TIMEOUT error message similar to the following:
Starting pdm_ldap_test... LDAP service type=edirectory Service Desk platform=windows Using search base=o=SmartLabsx Using filter=(&(objectClass=InetOrgPerson) ldap_init(155.35.173.110,15389): (Success) ldap_bind_s() (Success) LDAP API Verion 3 ldap_search_st() (TIMEOUT or SIZELIMIT_EXCEEDED)
Failed Search 0 Records Returned
The search may fail because your default filter is not correct. If pdm_ldap_test returns zero (0) records, always check the Using filter line, which is the base filter generated by the LDAP_FILTER_PREFIX and LDAP_FILTER_SUFFIX, or the LDAP_OBJECT_CLASS options:
Starting pdm_ldap_test... LDAP service type=edirectory Service Desk platform=windows Using search base=o=SmartLabs Using filter=(&(objectClass=InetOrgPerson) ldap_init(155.35.173.110,15389): (Success) ldap_bind_s() (Success) LDAP API Verion 3 ldap_search_st() 0 records