[Samba] openldap integration failed after power cut

Adam Tauno Williams awilliam at whitemice.org
Mon Feb 20 05:44:30 MST 2012


On Mon, 2012-02-20 at 12:13 +0000, Fergus Clarke wrote:
> running ldapsearch -x on the primary LDAP server fails, it gives
> [root at servername ~]# ldapsearch -x
> ldap_bind: Can't contact LDAP server (-1)
> And yet on that server the Zimbra instance appears to be fine.
> Can you suggest any further diagnosis of the LDAP on that server, or action I might take?

Yes, research the problem.

On the DSA [LDAP server] is the slapd server listening on the expected
port?

netstat --listen --tcp --program

Given the contents of /etc/openldap/ldap.conf [or wherever your client
LDAP config is] - does the hostname specified there resolve?  Is the
port specified the same the server is listening on?  Can you "telnet
hostname port-number" from the client and get a connection?

All this is just standard debugging steps.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <http://lists.samba.org/pipermail/samba/attachments/20120220/79c9f72a/attachment.pgp>


More information about the samba mailing list