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

Re: Listen only to 1 IP



Quoting "Martinez Martinez, Vicente" <VMartinez@es.wanadoo.com>:
> I'm running OpenLDAP on Solaris with two IP's and the service is
> listening at port 389 of both IP's.
> 
> Is there any way to configure OpenLDAP to listen only to one IP?

Assuming you're running OpenLDAP version 2.0 or later, you should use the 
command line option:

-h ldap://192.168.0.1/  

which binds LDAP to a specific address.  You can also specify the port.
For more information, see 
http://www.openldap.org/doc/admin/runningslapd.html#Command-Line%20Options

I'm not sure how to do this with OpenLDAP 1.2.

*********************************
        Paul Gillingwater
        Managing Director
 CSO Lanifex Unternehmensberatung 
 & Softwareentwicklung G.m.b.H.
      NEW BUSINESS CONCEPTS

E-mail:  paul@lanifex.com
Teleph:  +43(1)2198222-20
Fax:     +43(1)2198222-11
Mobile:  +43(699)1922 3085
Webhome: http://www.lanifex.com/
Address: Praterstrasse 60/1/2 
         A-1020 Vienna, Austria
*********************************