Actually I found it like that in pam_ldap.conf without any modification from my side and changed as described coz I had the same error before
But looks didn't work any way!
# Another way to specify your LDAP server is to provide an
# Unix Domain Sockets to connect to a local LDAP Server.
Jan 30 19:13:18 mail imaplogin: nss_ldap: failed to bind to LDAP server ldapi:///ldap.domain.com: Can't contact LDAP server
Jan 30 19:13:18 mail imaplogin: nss_ldap: could not search LDAP server - Server is unavailable
What do you think? Is this the problem ?
I followed pretty much the indicated article there' http://www.openldap.org/doc/admin24/runningslapd.html', so I assume no real problem in the configuration for this point!
Date: Wed, 30 Jan 2013 08:19:11 +0100
Subject: Re: Kerberos/LDAP integration
On 01/30/2013 07:33 AM, Asmaa Ahmed wrote:
Using ldapi:// is probably incorrect. You're using the wrong protocol scheme, and/or you're not using it correctly.
http://www.openldap.org/doc/admin24/runningslapd.html lists the different protocol schemes and how to use them.