From: Francis Cianfrocca Date: 2007-10-23T06:55:43+09:00 Subject: Re: Problem connecting with ruby-net-ldap - Net::BER::BerError ------=_Part_9412_13637335.1193090141549 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On 10/22/07, Daniel Berger wrote: > > Hi all, > > Ruby 1.8.6 > Windows XP Pro > ruby-net-ldap 0.0.4 > > I'm getting a strange error when I try this simple script, where > LDAP_SERVER is a 3rd party ldap server: > > ldap = Net::LDAP.new(:host => LDAP_SERVER, :port => 9999) > ldap.bind(:dn => 'cn=Admin', :password => 'xxx') > ldap.unbind Try this instead: ldap.bind(:method=>:simple, :dn => 'cn=Admin', :password => 'xxx') ------=_Part_9412_13637335.1193090141549--