« Ultrasonic | Main | New Hampshire »

ruby-ldap controls patch

I've put out a series of patches to ruby-ldap 0.8.3 to allow the easy use of controls. Controls take advantage of the extensible nature of LDAPv3 to provide functionality not part of the original protocol specification.

Specifically, I had a need at work to use the Paged Results control, described in RFC2696. ruby-ldap 0.8.3 allows the client to set controls at the search level via LDAP::Conn#searchext and LDAP::Conn#searchext2, but it has no way to return controls sent by the server to the client as a side-effect of the search. Furthermore, I wanted to be able to set controls at the session level and have those be effective during LDAP::Conn#search and LDAP::Conn#search2, which are methods I use much more frequently.

Anyway, if you need to use LDAP controls from Ruby (and let's face it, who doesn't?), this if for you.

TrackBack

TrackBack URL for this entry:
http://www.caliban.org/cgi-bin/mt/mt-tb.cgi/106

Post a comment


About

This page contains a single entry from the blog posted on Wednesday, 17 November 2004 at 14:52:26.

The previous post in this blog was Ultrasonic.

The next post in this blog is New Hampshire.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34