Les commandes pour installer et configurer OpenLDAP :
hostname
hostnamectl set-hostname ldap.dirtech.local
sudo nano /etc/hosts
sudo apt update & sudo apt upgrade
sudo apt install apache2 php php-cgi libapache2-mod-php php-mbstring php-common php-pear -y
sudo apt install slapd ldap-utils -y
sudo slapcat
sudo apt -y install ldap-account-manager
sudo a2enconf php*-cgi
sudo systemctl restart apache2
sudo systemctl enable apache2
sudo systemctl status apache2
sudo ufw status
sudo ufw enable
sudo ufw allow 80
sudo ufw allow 443
sudo ufw allow 389