LDAP Account Manager (LAM) is a web-based LDAP administration tool that allows you to create, edit and delete records in your LDAP directory. In this tutorial, we will guide you through the steps to install LAM on your Fedora server.
sudo dnf install -y httpd php php-ldap
sudo systemctl start httpd
sudo systemctl enable httpd
wget https://github.com/leenooks/phpLDAPadmin/archive/master.zip
unzip master.zip -d /var/www/html/
sudo mv /var/www/html/phpLDAPadmin-master /var/www/html/lam
sudo cp /var/www/html/lam/config/config.php.example /var/www/html/lam/config/config.php
sudo vi /var/www/html/lam/config/config.php
a. Uncomment the line “$config[‘ldap’][‘server’][0]” and set your LDAP server URL.
b. Set your LDAP server’s protocol by uncommenting the desired protocol line (either ldaps or ldap).
c. Set the base DN of your LDAP server.
d. Save and exit the file.
For example:
https://192.168.x.x/lam
Congratulations, you have successfully installed and configured LAM on your Fedora server.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!