- So, What's This LDAP Stuff All About?
- Getting Started with Linux Server Software and Good Housekeeping
- Installing an LDAP Server in Ubuntu Linux
- Is the LDAP Server Running?
- Reconfigure the OpenLDAP Server
- Getting Comfortable with LDAP-Starting and Stopping the Server
- Using ldapsearch to Verify Correct Server Operation
- Populating the LDAP Directory
- Learning One new Thing Each Day
- Conclusion
Installing an LDAP Server in Ubuntu Linux
To install an LDAP server, run the following command:
sudo apt-get install slapd
The installer will suggest the deployment of a few ancillary packages (slpd, openslp-doc, and ldap-utils). Just accept the default settings. Remember, your virtual Linux machine must have Internet access for the above command to succeed. This is because the required packages are all retrieved from the us.archive.ubuntu repository. The above command takes a few minutes to complete and, assuming it succeeds, the next command to run is:
sudo apt-get install ldap-utils
If you prefer, this command can be run at the same time as the previous one with the following syntax:
sudo apt-get install slapd ldap-utils
I'm doing it step-by-step, but you can do it all at once if you prefer. In any case, the ldap-utils option installs the ldapsearch facility. Don't forget that your virtual machine must, in general, be configured for Internet access when you run the any of the apt-get install commands.