[Date Prev][Date Next] [Chronological] [Thread] [Top]

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



On Fri, 2 Jul 2010, Aldo wrote:

THE REQUIRED PORT 636 IS LISTENING.

[root@ldapServer]# fuser -n tcp  636
636/tcp:              7027

[root@ldapServer ~]# telnet localhost 636
Trying 127.0.0.1...
Connected to localhost.localdomain (127.0.0.1).
Escape character is '^]'.
Connection closed by foreign host.

Well, obviously the process is attached. But why is it dropping your connection instantly? It should be sitting there, listening for input data.

I'd:

0) check your libwrap configuration (/etc/hosts.{allow,deny}).

and if you don't find anything there,

1) restart slapd with excessive debugging (-d -1 or similar), telnet localhost 636, see what's going on.