ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
hi
i install ldap on centos 6.4
when execute "ldapsearch -d5 -x "
get error :
ldap_connect_to_host: getaddrinfo failed name or service not known ldap_err2strings
,
ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1)
file /etc/ldap.conf
######
BASE dc=test,dc=com
URI ldap://localhost:389
TLS_CACERTDIR /etc/openldap/cert
############
Last edited by sallea; 04-08-2015 at 04:39 AM.
|