I can get ldap.bind to return true if I have a properly specified DOMAIN\username and a valid password. However, it never returns "false" if I give it bad information. It just hangs, and causes the entire rails app to hang. Any guess why this might be?
ldap_con = Net::LDAP.new( {:host => 'corp.domain.com', :port => 389, :auth => { :method => :simple, :username => 'CORP\login', :password => 'password' }} )
ldap_con.bind
(HANGS PERMANENTLY)
|