# Ruby Net::LDAP version 0.0.2

**URL:** <https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070>\
**Category:** Ruby\
**Created:** [July 12, 2006, 1:02pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070 "2006-07-12T13:02:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![blackhedd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Post date:** [July 12, 2006, 1:02pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070/1 "2006-07-12T13:02:17Z")

</div>

We’re pleased to announce version 0.0.2 of Net::LDAP, the first  
pure-Ruby LDAP library. Net::LDAP intends to be a feature-complete  
LDAP client which can access as much as possible of the functionality  
of the most-used LDAP server implementations. This library does  
not wrap any existing native-code LDAP libraries, creates no  
Ruby extensions, and has no dependencies external to Ruby.

Version 0.0.2 includes an implementation of the “paged search  
control” to enable queries of A/D result sets \> 1000 entries.  
It also fills in some holes in the documentation.

We fixed a handful of issues that gave strange-looking errors when  
working with A/D. The most important of these was support for search  
referrals.

Net::LDAP now works with standard RFC-2254 filter strings (see  
Net::LDAP::Filter#construct). This is intended as an adjunct to  
(not a replacement for) the existing Filter API, which is considerably  
easier to use for people who are not LDAP experts. Thanks to  
Andre N. for suggesting this.

We added a range of new APIs, and deprecated some existing ones.  
The goal is to make the Net::LDAP API as intuitive and Ruby-like  
as possible. We’ll be adding more improvements to the API as we  
go along.

Please note that Net::LDAP is licensed under the Ruby license  
or LGPL, at your option. (I’m saying it publicly right here!)  
There are still many source files in the distro that contain  
GPL verbiage. We will clean that up in a future release.  
See the file LICENCE in the distro for details of the Ruby-like  
license.

And finally we fixed the annoying problem that the 0.0.1 gem  
and tarball had trailing garbage. Thanks to Austin for helping  
track that down.

Thanks also to the many people who contributed suggestions,  
usage notes, and bug reports. Your support makes Net::LDAP  
a better library for everyone.

Progress so far: Net::LDAP is now in use on a variety of production  
sites. Stability has been excellent, and performance is quite good.  
We’ve found by far that the most popular application is authentication  
for users of web sites, but there has been some chatter about  
authorization as well, and a few of you are building directory-enabled  
applications.

What’s next on the roadmap?

Many of you have requested support for encryption. We will soon be  
adding support for STARTTLS and LDAPS to Net::LDAP, using Ruby’s  
built-in OpenSSL library.

We’d like to improve the API so it presents a more search-like interface  
and further masks the archaic (and arcane) native LDAP vocabulary.

We have a project going (“Peregrine”) to provide a full-featured  
LDAP server in Ruby, based on the EventMachine fast network-IO library,  
that you can use with your own Ruby classes. This will allow you  
to serve LDAP clients (such as mailers, IM, and calendaring apps) with  
data  
that you generate dynamically from your own code.

Finally, we’ve started thinking about an authentication generator or  
plugin for Rails that will work against LDAP servers. It would be even  
more interesting to augment it with fine-grained authorization at the  
controller level.

If anyone wants to contribute suggestions, insights or (especially)  
code, please email me at garbagecat10 … . … [gmail.com](http://gmail.com).

---

<div class="post-metadata">

**Author:** ![blackhedd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Post date:** [July 12, 2006, 1:04pm UTC](https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070/2 "2006-07-12T13:04:56Z")

</div>

Get Net::LDAP from Rubyforge, or install the gem:

gem i ruby-net-ldap

---

<div class="post-metadata">

**Author:** ![blackhedd](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/9de053/32.png) [@blackhedd](https://www.ruby-forum.com/u/blackhedd)\
**Post date:** [July 13, 2006, 2:28am UTC](https://www.ruby-forum.com/t/ruby-net-ldap-version-0-0-2/98070/3 "2006-07-13T02:28:05Z")

</div>

fr francis:

# Subject: [ANN] Ruby Net::LDAP version 0.0.2

being pure ruby, this is very useful, indeed. We will try it here.  
thank you for net/ldap.  
kind regards -botp
