# Rails auth systems using LDAP?

**URL:** <https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410>\
**Category:** Rails\
**Created:** [January 31, 2006, 4:38pm UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410 "2006-01-31T16:38:08Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![seanhussey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Post date:** [January 31, 2006, 4:38pm UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410/1 "2006-01-31T16:38:08Z")

</div>

Hi everyone,

Are there any Rails systems that are either:

- Easily extensible to use a different auth store?
- Use LDAP out of the box?

Thanks,

Sean

---

<div class="post-metadata">

**Author:** ![seanhussey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Post date:** [February 1, 2006, 12:42am UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410/2 "2006-02-01T00:42:50Z")

</div>

On 1/31/06, Sean H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi everyone,
> 
> Are there any Rails systems that are either:
> 
> - Easily extensible to use a different auth store?
> - Use LDAP out of the box?

I’m in the middle of development on a financial app that uses LDAP for  
authentication and group/role storage. Working so far, though I’m  
fairly new to the LDAP world.  
One irritation is that the ruby-ldap library doesn’t build on Windows.  
If anyone wants to fix that, I’d be happy to talk about paying for  
that to happen.

---

<div class="post-metadata">

**Author:** ![seanhussey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Post date:** [February 1, 2006, 1:52am UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410/3 "2006-02-01T01:52:15Z")

</div>

Wilson B. wrote:

> One irritation is that the ruby-ldap library doesn’t build on Windows.  
> If anyone wants to fix that, I’d be happy to talk about paying for  
> that to happen.

Hey that’s great. You might want to repost that as a new thread and with  
an appropriately  
tagged subject (like “[job offer] will pay to port ldap code to windows  
platform”).

I think the most crucial challenge ruby/rails faces is that it is behind  
the curve as far  
as a solid base of utility libraries and such are concerned. And the  
patronage model will  
get that done faster than just wishing!

b

---

<div class="post-metadata">

**Author:** ![seanhussey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Post date:** [February 1, 2006, 5:35am UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410/4 "2006-02-01T05:35:12Z")

</div>

On 1/31/06, Ben M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> get that done faster than just wishing!

I’m going to take one more shot at fixing the build process this week,  
with my rusty C skills. If I can’t make it happen, I will definitely  
take your advice.

---

<div class="post-metadata">

**Author:** ![seanhussey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Post date:** [February 1, 2006, 7:51am UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410/5 "2006-02-01T07:51:15Z")

</div>

Isn’t there ActiveLDAP? basically lets u plugin a LDAP database as you  
would  
with ActiveRecord. Tweak the login generator forms around (or the  
schema)  
and you should be good to go. Ofcourse, nothing works as smoothly as it  
does  
in theory…

---

<div class="post-metadata">

**Author:** ![seanhussey](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/a88e57/32.png) [@seanhussey](https://www.ruby-forum.com/u/seanhussey)\
**Post date:** [February 1, 2006, 2:56pm UTC](https://www.ruby-forum.com/t/rails-auth-systems-using-ldap/99410/6 "2006-02-01T14:56:19Z")

</div>

ActiveLDAP depends on Ruby/LDAP which doesn’t compile on Win32 without  
running inside Cygwin.
