LDAP Models

I'm running Rails 3.09/Ruby 1.8.7, and I'm looking for some advice on
how to create models from LDAP servers. I see there is an ActiveLDAP
gem floating around out there, but it's Rails 3 support is only for
3.1rc4. Specifically, I'm trying to compare my user base on one LDAP
server to another LDAP server.



Devise + LDAP is a good idea to do it

I have had good success using the net-ldap gem (
http://rubygems.org/gems/net-ldap). Though you will need to map the attribute values to your model by hand.