LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-13-2008, 04:36 PM   #1
mgichoga
Member
 
Registered: Sep 2004
Distribution: Ubuntu
Posts: 42

Rep: Reputation: 16
Openldap listen on localhost


I would want openldap to listen on localhost only. I've searched extensively but cannot see which setting to change. Thanks.
 
Old 08-13-2008, 04:59 PM   #2
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Code:
$ man slapd
and have a look at the -h option.
 
Old 11-17-2009, 09:39 PM   #3
elkali
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by chort View Post
Code:
$ man slapd
and have a look at the -h option.
Yeah, sure...

But how can I set my slapd.conf file so it does start listening to that port only?
 
Old 11-17-2009, 09:50 PM   #4
elkali
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Quote:
Originally Posted by elkali View Post
Yeah, sure...

But how can I set my slapd.conf file so it does start listening to that port only?
Auto-answer: applicable only to Debian (as far as I know)

Change file at /etc/default/slapd and specify:

SLAPD_SERVICES="ldap://127.0.0.1:389/"

That'll do the trick
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
apache : localhost/ works localhost/index.html does not PhilA Linux - Server 4 05-27-2007 07:32 PM
MySQL: Why are there two roots localhost, and localhost.localdomain? paulsiu Linux - Server 6 04-18-2007 09:43 AM
Can sunrpc be configured to listen only to localhost? Robhogg Linux - Security 3 03-02-2006 06:37 PM
Message from syslogd@localhost localhost kernel: Disabling IRQ #21 ylts Linux - Hardware 0 02-26-2005 08:01 AM
"Listen on localhost" - what does it mean? george_mercury Programming 5 12-26-2004 06:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration