sudo apt-get install ldap-utils slapd
sudo dpkg-reconfigure slapd
sudo systemctl start slapd.service
sudo ufw allow ldap
sudo nano /etc/ldap/ldap.conf
BASE dc=mycompany,dc=local
URI ldap://localhost
or
BASE dc=rpa,dc=ibm,dc=com
URI ldap://rpa.ibm.com