openLDAP is an implementation of the LDAP protocol which is widely used.
First download the latest version of openLDAP at [1].
Before installing the LDAP server make sure you have these libraries installed.