D
Daniel Berger
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.newhost => LDAP_SERVER, ort => 9999)
ldap.binddn => 'cn=Admin', assword => '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
Any ideas?
Thanks,
Dan
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.newhost => LDAP_SERVER, ort => 9999)
ldap.binddn => 'cn=Admin', assword => '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
Any ideas?
Thanks,
Dan