Skip navigation


This screencast shows a walk through of installing openldap and phpldapadmin. After installation I go through and setup a couple of organizational units to store users and groups which I’ll use in a later screencast when I configure ubuntu to authenticate against against an LDAP server for user logins.

This screencast doesn’t really acomplish anything overly exciting but is required before heading into some of the things that LDAP can do, such as centralized user authentication or storing your puppet configured servers and their classes.


apt-get install slapd
apt-get install ldap-utils
apt-get install phpldapadmin

emacs /etc/ldap/ldap.conf
(set BASE dc=test,dc=net and URI ldap://

emacs /etc/php5/apache2/php.ini
(set memory_limit = 32M)

ldapadd -c -x -D "cn=admin,dc=test,dc=net" -W -f ./test.ldif


 Subscribe in a reader



  1. Pretty good introduction.

    • Cheers. Thanks for watching 🙂

  2. i am very happy to view this video, i am suffering from how to configure openldap server in ubuntu 8.10

  3. I don’t have any other means to reach you, so i’m trying it this way 🙂
    The reason i’m trying to contact you is that great video on ldap installation. I’m a beginner at linux and ldap and that video was just perfect for the likes of me. But, as it’s always the case with me setting up something, something was wrong. Even though i followed all the steps from the video, i could not login to my server. It had cn=admin,dc=example,dc=com in Login DN field even though in your video you clearly had your settings from ldap.conf file. Changing them manualy in the field in phpldapadmin did nothing either. I don’t understand what exactly happened. I followed through all the steps (on a fresh Ubuntu installation, fully updated) and yet, no use. Any help would be appreciated since i’m slowly losing my mind. Nowhere on the entire internet could i find such simple, down to earth installation instructions like in your video, and when i finally thought “hey, wow, this will work”, i get disappointed again. So, please help out, my graduation work depends on it.
    Thank you.

  4. Great video. I also watched the other videos for how to setup SSO for SSh, etc.

    Thanks for sharing. Would be great to see more vids.

  5. Hi!
    Thank you for sharing such good information.
    Currently I am struggling to install openldap in Ubuntu 10.04 LTS (Lucid Lynx) By any chance do you have some tricks to share for this release?

    Thank you!

  6. Really very useful, thank you very much for sharing this and please Keep up the good work you are doing.

One Trackback/Pingback

  1. […] Castix – Linux System Administration Screencasts Quick screencast tutorials for the curious! TutorialsAbout « OpenLDAP – Installation and adding objects using phpldapadmin and ldapadd […]

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: