Ruby/LDAP 0.9.3

I have just released Ruby/LDAP 0.9.3.

This is mostly a bug-fix release. The changes from 0.9.2 are listed below:

  • LDAP::Schema#names and LDAP::Schema#attr will now allow names with hyphens and/or underscores.

  • A warning about @sasl_quiet when run in debug mode has been silenced.

  • Uninitialised data structures in LDAP::SSLConn#bind and LDAP::SSLConn#simple_bind have been fixed.

  • Ruby/LDAP now builds properly with OpenLDAP 2.3.

  • Build-time options –with-ldap-incdir and –with-ldap-libdir have been replaced by –with-ldap-include and –with-ldap-lib. This is a consequence of making extconf.rb more standard.

  • The Windows build has been improved, so that it should now at least build without error. Whether it will work is another matter.

It’s good to get a new release of this out the door, even if the changes are very minor. I did all the major work I wanted to do on this library in previous versions, mostly for the 0.9.0 release. In particular, adding the ability to manipulate LDIF data was very important to me at the time. Now that I’m not working and actively using LDAP, I’ll have to find my motivation to work on the code from some other source.

In the future, it would be nice to improve the quality of the Windows build. Various people report varying degrees of success in getting the software to work under Windows, but since I have no Windows build system, I can’t really work on the code. Progress is pretty much restricted to integrating any patches I get sent.

As a longer term project, it would be nice to be rewrite Ruby/LDAP in pure Ruby, rather than wrapping the C libraries, as is currently the case. Ruby/LDAP will always have better performance than a pure Ruby solution, however, so that’s probably best started as a separate project.

This entry was posted in System Administration. Bookmark the permalink.

1 Response to Ruby/LDAP 0.9.3

  1. Dr Snooks says:

    Hi Ian

    I’ve been having great trouble getting the library compiled on Windows. I was wondering if you ever made any progress on rewriting it as pure Ruby?

Leave a Reply

Your email address will not be published. Required fields are marked *