Forum: Ruby Search-result referrals in Net::LDAP

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
481b8eedcc884289756246e12d1869c1?d=identicon&s=25 Francis Cianfrocca (Guest)
on 2006-05-31 00:17
(Received via mailing list)
All, I received an email from a gentleman who had a problem using
Net::LDAP
(library at Rubyforge) to query an Active Directory (A/D) server. He got
the
following error message:

This happens because many A/D servers are configured to return what LDAP
calls "Search-result referrals"- an additional LDAP URL that you are
encouraged to query in order to get additional relevant results. The
Net::LDAP library was not supporting this result-type. I'm in the
process of
adding it in now and will produce a patch shortly. Has anyone else
encountered this problem?

Another problem you are likely to see when querying A/D is that you
can't
get back more than 1000 results no matter what you try. This is due to
an
"LDAP control" that A/D uses to prevent large queries. This has already
been
fixed in the HEAD revision of Net::LDAP.
This topic is locked and can not be replied to.