'ldap_bind() ERROR(Server down)' appears when I run the pdm_ldap_test command.

Document ID : KB000051688
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

I've tried to integrate the EEM authentication with the CA Service Desk Manager on the same box. The EEM does not linked the external LDAP server like Active Directory. I am trying to use the EEM only and the user information will be stored to the MDB.

However, when we run pdm_ldap_test, ldap_bind() reports the following, ERROR(Server down) as follows:

 C:\>pdm_ldap_test
  Starting pdm_ldap_test...
  LDAP Directory Type      : etrust
  Service Desk Platform    : windows
  Search Base              : cn=Users,cn=Entities,cn=iTechPoz
  Search Filter            : (objectClass=pozObject)
  Administrator Username   :
  Administrator Password   : **********
  LDAP Host                : <specific hostname>
  LDAP Port                : 1684
  ldap_bind() ERROR(Server down)

How do I resolve this?

Solution:

Please set the 'localhost', not a specific hostname to the 'LDAP Host' option in the Administration tab --> Options Manager --> LDAP in this situation.

Figure 1

After setting the configuration, you can run the pdm_ldap_test command without any problems as follows:

C:\ >pdm_ldap_test
     Starting pdm_ldap_test...
     LDAP Directory Type      : etrust
     Service Desk Platform    : windows
     Search Base              : cn=Users,cn=Entities,cn=iTechPoz
     Search Filter            : (objectClass=pozObject)
     Administrator Username   :
     Administrator Password   : **********
     LDAP Host                : localhost
     LDAP Port                : 1684
     LDAP API Version         : 3
     
     LDAP Page 1: 2 records found...
     
     DN: cn=ServiceDesk,cn=Users,cn=Entities,cn=iTechPoz
     DN: cn=Administrator,cn=Users,cn=Entities,cn=iTechPoz
     2 Total LDAP records found...