Mikel Lindsaar wrote:
> 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

i am using the correct username and password but it's showing false and 
one more thing that now how can i send username and password to ldap 
server for checking and how ldap server will send the format for 
username and password .
Please solve my problem
looking for ur suggestion
Thanks
varun
-- 
Posted via http://www.ruby-forum.com/.