LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Openldap listen on localhost (https://www.linuxquestions.org/questions/linux-server-73/openldap-listen-on-localhost-662589/)

mgichoga 08-13-2008 04:36 PM

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.

chort 08-13-2008 04:59 PM

Code:

$ man slapd
and have a look at the -h option.

elkali 11-17-2009 09:39 PM

Quote:

Originally Posted by chort (Post 3246609)
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?

elkali 11-17-2009 09:50 PM

Quote:

Originally Posted by elkali (Post 3760760)
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


All times are GMT -5. The time now is 09:18 PM.