G
Glen Holcomb
So I am having difficulty getting the attributes for an LDAP entry. If I
check for specific attributes by name that works fine. However when I try
the following:
ldap.search
base =3D> base, :filter =3D> address_only_filter, :return_resu=
lt =3D>
false) do |entry|
p entry.dn
p entry.attrs
puts "\n\n"
end
I get the following error:
/Library/Ruby/Gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap/entry.rb:152:i=
n
'method_missing': undefined method 'attrs' (NoMethodError)
I get the same NoMethodError when I try get_attributes.
I am getting a Net::LDAP::Entry object back from the search as verified by
changing the p entry.attrs to p entry.class
Anyone else run across this?
--=20
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can=92t hear a word you=92re saying."
-Greg Graffin (Bad Religion)
check for specific attributes by name that works fine. However when I try
the following:
ldap.search
lt =3D>
false) do |entry|
p entry.dn
p entry.attrs
puts "\n\n"
end
I get the following error:
/Library/Ruby/Gems/1.8/gems/ruby-net-ldap-0.0.4/lib/net/ldap/entry.rb:152:i=
n
'method_missing': undefined method 'attrs' (NoMethodError)
I get the same NoMethodError when I try get_attributes.
I am getting a Net::LDAP::Entry object back from the search as verified by
changing the p entry.attrs to p entry.class
Anyone else run across this?
--=20
"Hey brother Christian with your high and mighty errand, Your actions speak
so loud, I can=92t hear a word you=92re saying."
-Greg Graffin (Bad Religion)