From: Pokkai Dokkai Date: 2007-10-08T13:37:47+09:00 Subject: LDAP bind error i am new to ruby ..... in java my ldap server is connecting like -------------------------------------------- username="myname" password="*********" LDAPConnection ld = new LDAPConnection(); ld.connect( "192.168.1.1", 389); con=ld.authenticate ("uid="+username+",ou=People,dc=mydomain,dc=com",password); /// con--->true but in ruby ----------------------------------- 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/.