---

OpenLDAP Quick Tips: Switch to the Dynamic Config Backend (cn=config)

[ Thanks to An
Anonymous Reader
for this link. ]

“”What, I don’t need to restart my directory server if
I make config changes?”

“Not only that, but you can do cool things like
promoting/switching a slave directory server to a master server on
the fly! (that’s one for another tip though).

“To start, we will simply show you how to convert an existing
fully configured slapd.conf to the slapd.d format.

“It’s worth mentioning if you missed it above, but you can
already do this if you have the cn=config user password set, as
changes must be made via that user. When you make a config change
over LDAP[?], it will take affect but not on a restart, as
slapd.conf gets read again. This is usefull though if you always
want to start from a known config and just make runtime changes
when needed.”


Complete Story

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis