Ruby/LDAP is an extension module for Ruby that provides the interface to LDAP libraries such as OpenLDAP, UMich LDAP, Netscape SDK, and Active Directory. It supports libraries that comply with the common API for application development described in RFC1823.
| Tags | Software Development Libraries Ruby Modules Systems Administration Database API |
|---|---|
| Licenses | BSD Revised |
| Operating Systems | OS Independent |
| Implementation | C Ruby |
Recent releases


Changes: Deletion and replacement operations that did not work properly on Win32 systems were fixed.


Changes: A segfault on FreeBSD when using AMD64 was fixed for this release. The only other changes are minor clarifications of the documentation.


Changes: The Windows build is now believed to work straight out of the box, at least on Windows XP SP2 compiling with SVC C++ 6.0.


Changes: Conn#search, Conn#search2, Conn#search_ext, and Conn#search_ext2 were modified to treat LDAP_SIZELIMIT_EXCEEDED as success. After using any of these methods, the user should check whether LDAP::Conn#err == LDAP::LDAP_SIZELIMIT_EXCEEDED. If true, the results set has been truncated by the server. Previously, LDAP_SIZELIMIT_EXCEEDED would raise an exception and no results would be returned, which is not the desired behavior if the user has deliberately put a limit on the number of results. Some duplicate code has been refactored. Missing RDoc documentation has been added for LDAP::Conn#err.


Changes: 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. The library now builds properly with OpenLDAP 2.3. The --with-ldap-incdir and --with-ldap-libdir build-time options were 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.