Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'd like to set up LDAP to act as central authentication of 2 web applications running on the same server.

Whats the simplest step-by-step way to go about this from scratch?

In the long run I'd also like to be able to administer the users on the system as simply as possible (think end users, not devs!)

share|improve this question
up vote 2 down vote accepted

Maybe this tutorial answers your question.

share|improve this answer
Lots of good answers, but this tutorial got me closest to what I was after. – Jon Hadley Oct 13 '10 at 10:50

because ldap is VERY hard to setup for beginners i would recommend an server configuration tool. (trust me i have spent nights to fight against openldap) you can checkout ebox (its a server managment gui) and it configure openldap-server + samba ( windows domain logons)


share|improve this answer
That's true. I don't know any way of simplifying LDAP. It's designed to meet so many different requirements and be so flexible that it can be impossible to understand the basics. Implementations like OpenLDAP don't do administrators any favors, either. – Tim Yates Sep 5 '10 at 23:03

Try to follow the chapter on installing and configuring an OpenLDAP server in the Ubuntu Server Guide.

share|improve this answer
The guide for setting up OpenLDAP has been broken since the Karmic Koala release and there is an unresolved bug entered about it. Look elsewhere. – Mei Jun 24 '11 at 14:33
This article shows how to set up a working OpenLDAP server in Ubuntu 10.04. Just don't do an ldapsearch remotely and expect to work. – Mei Jun 24 '11 at 14:34

Look at this also:

The guy that made it, explains it fairly decent.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.