Wednesday, June 4, 2008

OpenLDAP Configuration Automation

We are building a SPEC RPM that will help to automatically setup a basic OpenLDAP server. It will ask important questions like domain name and the password for the openLDAP manager account.

The flow :-

(1) Check and install dependencies. OpenLDAP Server
(2) ask for domain name
(3) Ask for Manager password
(4) create the ldif
(5) alter Openldap server /etc/ldap/sldap.conf
(6) restart
(7) load basic ldif

We need to make sure the domain is valid and support virtual hosting.

My Blog List