# Ldap

**URL:** <https://www.ruby-forum.com/t/ldap/105664>\
**Category:** Rails\
**Created:** [June 1, 2007, 6:01am UTC](https://www.ruby-forum.com/t/ldap/105664 "2007-06-01T06:01:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Carolin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/90db22/32.png) [@Carolin](https://www.ruby-forum.com/u/Carolin)\
**Post date:** [June 1, 2007, 6:01am UTC](https://www.ruby-forum.com/t/ldap/105664/1 "2007-06-01T06:01:48Z")

</div>

Hi all.,

Am New to Rails.,

Can Anyone help me how to set up a LDAP server for Rails  
application.,

Just i want to authenticate a username and password via LDAP server.,

I dont have Clear idea about how to download an openldap server and  
configure it.,

Please tell me in detail , how to setup the server and how can i run  
my application via LDAP ( how to authenticate it.,

Please help me guys.,

Thankyou

---

<div class="post-metadata">

**Author:** ![Carolin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/90db22/32.png) [@Carolin](https://www.ruby-forum.com/u/Carolin)\
**Post date:** [June 1, 2007, 7:24am UTC](https://www.ruby-forum.com/t/ldap/105664/2 "2007-06-01T07:24:53Z")

</div>

OpenLDAP is a pretty well documented project, they have complete docs  
for installing and configuring an OpenLDAP server.

Using google I found these links to get you started:  
[www.openldap.org/doc/admin22/install.html](http://www.openldap.org/doc/admin22/install.html)  
[www.linux.com/article.pl?sid=04/03/01/1318258](http://www.linux.com/article.pl?sid=04/03/01/1318258)

Then I looked for a ldap basics guide:  
[http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzahy/rzahyovrco.htm](http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzahy/rzahyovrco.htm)  
(Even tho there is some iSeries references in the IBM article, it will  
cover the basics of LDAP, enough to get you started)

Then look at the Rails Wiki  
[http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap](http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap)

I hope I have been helpful. I don’t believe you’ll find much help form  
others tho, just get the documentation and read it all. We all had to  
read the docs. If you get stuck with a problem, then ask. 🙂

~k
