Configuration management and control for OpenLDAP

0

I have an OpenLDAP server set up with LDIF/OLC configuration (all configuration is done on-line).

What are the best practices to allow versioning this configuration àla git?

Paul Nathan

Posted 2014-07-23T18:51:01.940

Reputation: 1 616

Answers

1

The practice I've seen recommended most often is to dump the config database (slapcat -n0), either periodically as a cron job or on demand, and check the output into version control.

An alternative is to git init the config database directory itself. I don't know a lot about the pros or cons of this approach.

rtandy

Posted 2014-07-23T18:51:01.940

Reputation: 371