I have an application that is working.
Now i want to have a login page to make the authentication using ldap.
How can i do that with rails?
What is the best library/extension to do that?
Thanks
regards
--
Posted via http://www.ruby-forum.com/.
Could you tell me how can I install and use it?
Jamey Cribbs wrote:
> Ruby's net_ldap library works great for this.
--
Posted via http://www.ruby-forum.com/.
Ive just installed it and i am gonna to try now.
regards
Jamey Cribbs wrote:
> IIRC, you can do a gem install ruby_net_ldap. Google for something like
> "rails ldap authenticate" and you should be able to find examples of
> using
> it. Basically, you can just call it's bind method and if that is
> successful, you know that you have authenticated.
--
Posted via http://www.ruby-forum.com/.
<http://rubyfurnace.com/docs/ruby-net-ldap-0.0.4/>
<http://wiki.rubyonrails.org/rails/pages/HowtoAuthenticateWithRubyNetLdap>
<http://www.rich-waters.com/blog/2007/02/using-domino-logins-ldap-for-a-ruby-on-rails-app.html>
Hal Fulton's (great) book The Ruby Way has a page on interfacing to
LDAP - I took his advice and investigated all of them to form my own
opinion. Hal also mentions acts_as_authenticated in The Rails Way
(also great) which gave me clues for where the code goes in my app.
George
--
George Bray, The Australian National University, Canberra, Australia.
Craig