On Oct 22, 2:00 pm, "Francis Cianfrocca" <garbageca... / gmail.com> wrote: > On 10/22/07, Daniel Berger <djber... / gmail.com> 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 > > > /lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ber.rb:117:in > > `read_ber': unsupported object type: class=contextspecific, > > encoding=primitive, tag=7 (Net::BER::BerError) > > from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ > > ber.rb:112:in `read_ber' > > from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ > > ldap.rb:1104:in `bind' > > from C:/ruby/lib/ruby/gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ > > ldap.rb:701:in `bind' > > from user.rb:26 > > Dan, try syncing to the head revision of the library, there are a handful of > changes not in the current release. If that doesn't solve the problem, then > I'll look into it more closely for you. Hi Francis, Hm, something's wacky with your SCM repository. RF says you're using Subversion. All I see under trunk, however, is a bunch of CVSROOT files. What am I supposed to grab? The stuff under the experimental_netldap branch? Thanks, Dan