# LDAP and Rails?

**URL:** <https://www.ruby-forum.com/t/ldap-and-rails/75813>\
**Category:** Rails\
**Created:** [March 2, 2006, 7:29pm UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813 "2006-03-02T19:29:57Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 2, 2006, 7:29pm UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813/1 "2006-03-02T19:29:57Z")

</div>

Hi,

We want to start a new website, and we want to use our  
existing authentication system which is LDAP. Can  
someone tell me where I can find the information about  
how to use LDAP in rails ???

Thanks you very much

Saiho

The mind is its own place, and in itself.  
Can make a Heaven of Hell, a Hell of Heaven.

> **[Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](https://www.yahoo.com/)**
>
> Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!

* * *

Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around

> **[Yahoo Mail - Organized Email](https://mail.yahoo.com/)**
>
> It's time to get stuff done with Yahoo Mail. Just add your Gmail, Outlook, AOL or Yahoo Mail to get going. We automatically organize all the things life throws at you, like receipts and attachments, so you can find what you need fast. Plus, we've got...

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 2, 2006, 8:05pm UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813/2 "2006-03-02T20:05:23Z")

</div>

On 3/2/06, Saiho Y. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> We want to start a new website, and we want to use our  
> existing authentication system which is LDAP. Can  
> someone tell me where I can find the information about  
> how to use LDAP in rails ???

Check out ruby-ldap and ActiveLDAP.

[http://ruby-ldap.sourceforge.net/](http://ruby-ldap.sourceforge.net/)

[http://dataspill.org/pages/projects/ruby-activeldap](http://dataspill.org/pages/projects/ruby-activeldap)  
[http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap](http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap)

[http://article.gmane.org/gmane.comp.lang.ruby.rails/49471](http://article.gmane.org/gmane.comp.lang.ruby.rails/49471)

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 4, 2006, 10:32pm UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813/3 "2006-03-04T22:32:45Z")

</div>

[http://ruby-ldap.sourceforge.net/](http://ruby-ldap.sourceforge.net/)

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 2, 2006, 8:21pm UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813/4 "2006-03-02T20:21:39Z")

</div>

Thanks you very much for the information:)!!!

— removed\_email\_address@domain.invalid wrote:

> [http://ruby-ldap.sourceforge.net/](http://ruby-ldap.sourceforge.net/)
> 
> [http://dataspill.org/pages/projects/ruby-activeldap](http://dataspill.org/pages/projects/ruby-activeldap)

[http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap](http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap)

> 

[http://article.gmane.org/gmane.comp.lang.ruby.rails/49471](http://article.gmane.org/gmane.comp.lang.ruby.rails/49471)

> * * *
> 
> Rails mailing list  
> removed\_email\_address@domain.invalid  
> [http://lists.rubyonrails.org/mailman/listinfo/rails](http://lists.rubyonrails.org/mailman/listinfo/rails)

The mind is its own place, and in itself.  
Can make a Heaven of Hell, a Hell of Heaven.

> **[Yahoo | Mail, Weather, Search, Politics, News, Finance, Sports & Videos](https://www.yahoo.com)**
>
> Latest news coverage, email, free stock quotes, live scores and video are just the beginning. Discover more every day at Yahoo!

* * *

Do You Yahoo!?  
Tired of spam? Yahoo! Mail has the best spam protection around

> **[\[object](https://mail.yahoo.com/)**
>
> \[object

---

<div class="post-metadata">

**Author:** ![sayoyo](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/ba8739/32.png) [@sayoyo](https://www.ruby-forum.com/u/sayoyo)\
**Post date:** [March 5, 2006, 7:19am UTC](https://www.ruby-forum.com/t/ldap-and-rails/75813/5 "2006-03-05T07:19:40Z")

</div>

On 3/2/06, removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> [http://dataspill.org/pages/projects/ruby-activeldap](http://dataspill.org/pages/projects/ruby-activeldap)  
> [http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap](http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateViaLdap)
> 
> [http://article.gmane.org/gmane.comp.lang.ruby.rails/49471](http://article.gmane.org/gmane.comp.lang.ruby.rails/49471)
> 
> * * *

Also, the new Enterprise Integration with Ruby book has a good section  
on LDAP:  
[http://www.pragmaticprogrammer.com/titles/fr\_eir/](http://www.pragmaticprogrammer.com/titles/fr_eir/)
