[SOLVED] LDAP to authenticate multiple email accounts?

I'm looking into starting my own cloud hosting for myself as well as a couple of friends. I was very excited when Wendell released his linux server video earlier this week, but of course I want to get started quickly. I visited both the subreddit and the github page, trying to glean as much info as possible. I posted a topic on reddit and got some helpful answers, but these answers raised more questions. It was recommended that I use LDAP to authenticate a user's cloud as well as email. However, I have no clue how to do this. Any suggestions on tutorials? I don't really understand how to implement LDAP.

Thanks

Bashterm

If your completely new to this, I think your first goal should be geting services running.

If you want something out of the box to just work YUNoHost is probably the best bet but you can wait and see what the next video is like.
Once you can configure a LAMP Stack and get Own Cloud (or whatever) running and maybe setup an email server then you can worry about cool features like LDAP auth.

Lightweight Directory Access Protocol is a way to track users, groups and other assets. Microsoft's Active Directly uses LDAP to authenticate users and computers to a single network inside an Organization. You create a local domain like ad.mydomain.com where the 'ad' part (zone) of the mydomain can't be accessed from the internet. LDAP uses this as the base.
You then create objects likes users, groups and other containers inside the directory.

You can use it create your friends and your accounts and configure each app (that supports LDAP) on your server to authenticate users using it. Their isn't an easy way to do this, each app will want a slightly different configuration.

As an example heres the docs on how to configure OwnCloud to use LDAP.
https://doc.owncloud.org/server/7.0/admin_manual/configuration/user_auth_ldap.html

Something to keep in mind: YUNoHost uses LDAP out of the box. When you create a YUNoHost server it creates a LDAP domain and adds any users you create too it.

Ok, so if I were to install YUNoHost onto a raspberry pi I could install all of my mail stuff, etcetera from there? Sounds good. I'll see how it goes.

Thanks!

Bashterm