#!/bin/blog

April 14, 2011

Bind OpenLDAP slapd to localhost only (on RHEL/CentOS)

Filed under: UNIX & Linux — Tags: , , — martin @ 9:24 am

Implemented on RHEL5.

In /etc/sysconfig/ldap, append:

SLAPD_OPTIONS="-h \"ldap://127.0.0.1 ldaps://127.0.0.1\""

Then issue /etc/init.d/ldap restart.

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Blog at WordPress.com.

%d bloggers like this: