On Jan 18, 2008 8:50 PM, Varun Goel <varun.rajeshkumar / gmail.com> wrote: > Again if i made function like this > require 'net/ldap' > def ldap_connect > ldap = Net::LDAP.new > ldap.host = 'ldapservername.com' > ldap.bind > end > result:::True > Now i got reult true plese tell me how to use this within my application > please solve this problem Your "problem" is that your username and password are incorrect in the LDAP server. You can bind without any authentication so the Ruby Net::LDAP connection, go read up on LDAP, it is not a Ruby problem. Regards Mikel