Hi Team,

I hv 1 CentOS box ( server ) and other one is ubuntu box (client),
both are installed in Virtualbox
I have install openldap on CentOS and configuration is as follows

Server ( CentOS)

Openldap-2.3.43
IP 192.168.0.10
netmask 255.255.255.0

user name for ldap is ldapuser
In ldap.conf
URI ldap://192.168.0.10/
BASE dc=example,dc=com
TLS_CACERTDIR /etc/openldap/cacerts
(Created Certificate on Server)

after testing LDAP data base using
#ldapsearch -x -b 'dc=example,dc=com' '(obljectclass=*)'

O/p was working fine but now its giving me error as follows

ldap_bind: Can't contact LDAP server (-1)



2. Client (Ubuntu)
IP 192.168.0.20
netmask 255.255.255.0


conf file at /etc/ldap/ldap.conf
HOST 192.168.0.10
BASE dc=example,dc=com
TLS_REQCERT allow
TLS_CACERTDIR /etc/ssl/certs

For testing i am using same command on client but getting same error


Note: both OS (Server and Client) are different unix flavor

Same error getting on client (Ubuntu)
Please help me to resolve this issue.

If u need any more info then pls let me know