I for one feel that configuring OpenLDAP with LDIFs instead of basic configuration files is a major step in the wrong direction.
Does anyone have some tools/techniques to more easily manage OpenLDAP that don't require LDAP to be working 100%?
I for one feel that configuring OpenLDAP with LDIFs instead of basic configuration files is a major step in the wrong direction.
Does anyone have some tools/techniques to more easily manage OpenLDAP that don't require LDAP to be working 100%?
For configuration changes, I nearly never submit them via LDIF files and
ldapmodify
calls but use a GUI like Apache Directory studio, which makes this a lot less cumbersome.However, if you somehow manage to destroy your config in such a way that you can't connect via LDAP anymore, you can manually edit the
cn=config
tree in an editor, as this is just a collection of LDIF files in (usually)/etc/openldap/slapd.d/
. Just make sureslapd
is stopped, edit the files, restartslapd
and you should be back in (but be sure to make a backup beforehand).