i am new to rails ..... in java ldap server is connecting without problem -------------------------------------------- username="" password="" LDAPConnection ld = new LDAPConnection(); ld.connect( "192.168.1.1", 389); con=ld.authenticate ( "uid="+username+",ou=People,dc=srishtisoft,dc=com",password); /// con--->true but in rails ----------------------------------- ldap_con = Net::LDAP.new({:host => ''192.168.1.1'', :port => 389, :auth=> { :method=>:simple, :username => username, :password => password } }) @con=ldap_con.bind #@con --->false (always ) what is wrong here any help please..... -- 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 -~----------~----~----~----~------~----~------~--~---