Hello everyone. I'd like to introduce you cycle of articles about OpenLDAP. We'll discover OpenLDAP step by step, changing goals and making new tasks.
This part will cover installation of standalone OpenLDAP server.
Let's dive into OpenLDAP:)
1. First what we need that install ldap server and ldap toolkit.
apt-get install slapd ldap-utils
2. OpenLDAP server works from scratch but we will cover whole setup process from the beginning. So, OpenLDAP work dir is /etc/ldap/slapd.d. Let's clean it and will make our own ldap database.
service slapd stop
rm -rf /etc/ldap/slapd.d/*