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

RE: Cannot connect to OpenLDAP Server remotely



/etc/hosts.allow and hosts.deny were both empty.  With them both blank, it
should allow everything.  For fun I changed both files to allow the IP
addresses of the local machine and the remote machine, and to deny
everything.  I can still access the server locally, but I still get can't
access the server remotely.

-----Original Message-----
From: Jeff Saxton [mailto:jeff.saxton@sensage.com]
Sent: Friday, March 25, 2005 3:12 PM
To: Myles Merrell
Cc: OpenLDAP-software@OpenLDAP.org
Subject: Re: Cannot connect to OpenLDAP Server remotely


check /etc/hosts.allow /etc/hosts.deny


On Fri, 2005-03-25 at 11:56, Myles Merrell wrote:
> I have set up an OpenLDAP Server on a box running Fedora Core 3.  OpenLDAP
> was installed from the RPMS on the distribution CDs.
>
> I was able to configure the OpenLDAP sever and get it running.  On the
> server I could connect to it using the command line as well as perl
scripts
> and simple Java Applications.  However, when I try to access it from
another
> machine, I get a failure to connect error.  I tried running it on
different
> ports like 9090 and 9909, but the same problem occurred.  I ran port scans
> of the server from itself (the LDAP port is open|filtered) and from the
> remote computer (the LDAP port is filtered).  The firewall on our network
> doesn't filter internal traffic, so it can't be that.  Is there something
> that needs to be configured to allow external access?  I'm assuming
openldap
> creates the socket and should open the port.  Any help would be greatly
> appreciated.  Below are copies of my slapd.conf file if that helps.
>
> Thanks.
> myles.
>