active_directory
active_directory copied to clipboard
uninitialized constant Net::LDAP::LdapError
ruby 2.7.4
irb(main):031:0> require 'net/ldap/dn'
=> true
irb(main):032:0> ActiveDirectory::User.find(:all)
Traceback (most recent call last):
7: from /usr/bin/irb:25:in <main>' 6: from /usr/bin/irb:25:in
load'
5: from /usr/share/gems/gems/irb-1.2.6/exe/irb:11:in <top (required)>' 4: from (irb):32 3: from /home/t3mis/.gem/ruby/2.7.0/gems/active_directory-1.6.1.1/lib/active_directory/base.rb:263:in
find'
2: from /home/t3mis/.gem/ruby/2.7.0/gems/active_directory-1.6.1.1/lib/active_directory/base.rb:111:in connected?' 1: from /home/t3mis/.gem/ruby/2.7.0/gems/active_directory-1.6.1.1/lib/active_directory/base.rb:115:in
rescue in connected?'
NameError (uninitialized constant Net::LDAP::LdapError)
Did you mean? LoadError