On Thu, Apr 27, 2006 at 04:48:46PM +1000, Howard Lowndes wrote:
> I have a weird situation on an RHAS4 server where I am running OpenLDAP
> and netstat shows that it is open to everything:
>
> tcp 0 0 0.0.0.0:389 0.0.0.0:*
> LISTEN 3578/slapd
>
> I Know that it works fine when connecting from an outside IP address.
>
> The problem comes when I try to connect to it as a localhost, it connects
> and immediately closes:
> [EMAIL PROTECTED] ldap]# telnet localhost 389
> Trying 127.0.0.1...
> Connected to localhost.localdomain (127.0.0.1).
> Escape character is '^]'.
> Connection closed by foreign host.
>
> I cannot see anything in the slapd.conf that would indicate why it is
> refusing connections from the localhost.
>
> No iptables are running and selinux is disabled.
>
> Any ideas...
tcpwrappers? i.e. /etc/hosts.{allow,deny}
Does slapd see the connections? Does it have a log?
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html