Hi,
I am trying to make a simple web-application in which user should be
authenticate by LDAP server for login.
I am getting error while I call the bind of LDAP.
below is my error.
Net::BER::BerError in LoginController#authenticate
unsupported object type: class=universal, encoding=constructed, tag=28
RAILS_ROOT: C:/ruby/rails_apps/ldapapp/config/..
Application Trace | Framework Trace | Full Trace
C:/ruby/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ber.rb:117:in
`read_ber''
C:/ruby/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:1104:in
`bind''
C:/ruby/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap.rb:701:in
`bind''
#{RAILS_ROOT}/lib/ldap_connect.rb:10:in `authenticate''
#{RAILS_ROOT}/app/controllers/login_controller.rb:7:in `authenticate''
Thanks in advance.
Shant
-- 
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---