On 05/31/15 10:12 +0300, Gokan Atmaca wrote:
I installed OpenLDAP. "ldapsearch -x" comes with everything. However, I get an error when I try to connect to the client as follows:
Ldapcliet: (/var/log/auth.log)
02:49:58 debian8 nscd: nss_ldap: reconnecting to LDAP server (sleeping 1 seconds)... May 31 02:49:59 debian8 nscd: nss_ldap: could not connect to any LDAP server as (null) - Can't contact LDAP server May 31 02:49:59 debian8 nscd: nss_ldap: failed to bind to LDAP server ldapi://ldap01.gokan.local: Can't contact LDAP server
ldapi://ldap01.gokan.local is wrong. You probably want ldap://ldap01.gokan.local.
Consult ldap.conf(5), and the nss_ldap documentation.
# ldapsearch -x
# extended LDIF # # LDAPv3 # base <dc=gokan,dc=local> (default) with scope subtree # filter: (objectclass=*) # requesting: ALL #
Listening to the socket. tcp 0 0 0.0.0.0:389 0.0.0.0:* LISTEN 4409/slapd tcp6 0 0 :::389 :::* LISTEN 4409/slapd