[activeldap-discuss] rails 2.3.2 and activeldap.
mrsanna1 at gmail.com
Mon Jun 8 04:16:04 EDT 2009
2009/6/7 Kouhei Sutou <kou at cozmixng.org>:
> In <ab520d140906070434m1ddad686sb45cd94435a49ae0 at mail.gmail.com>
> "Re: [activeldap-discuss] rails 2.3.2 and activeldap." on Sun, 7 Jun 2009 13:34:07 +0200,
> Mauro <mrsanna1 at gmail.com> wrote:
>> I've installed activeldap gem.
>> Now I've to include it in my rails application with require
>> 'active_ldap' and require 'net/ldap' in application_controller.rb?
> No. You should use config/environment.rb:
> config.gem "activeldap", :lib => "active_ldap"
> If you want to use Net::LDAP as LDAP backend, use
> adapter: net-ldap
I can connect to my LDAP backend without net-ldap, I'm only using
activeldap as a gem.
So there is no need to have net-ldap.
More information about the ruby-activeldap-discuss