||A Ruby extension library for accessing the LDAP API.
||2002-07-29 05:56:46 GMT
||2005-03-03 01:19:49 GMT
(Projects of this owner)
Ruby/LDAP is an extension module for Ruby. It provides the interface to some LDAP libraries (for example, OpenLDAP, UMich LDAP, Netscape SDK and ActiveDirectory). The common API for application development is described in RFC1823 and most libraries comply with it. Ruby/LDAP supports those libraries.
Takaaki Tateishi wrote and maintained the library up to and including version 0.8.3. Since version 0.8.4, it has been maintained by Ian Macdonald.
Changes in 0.9.0:
There is a new, fully functional LDIF module, complete with unit tests.
In LDAP::Conn#add, LDAP::Conn#add_ext, LDAP::Conn#modify and
LDAP::Conn#modify_ext, LDAP_MOD_BVALUES should be set when passing in a hash, in case there are mods containing binary values.
LDAP::Conn#sasl_bind now returns nil when a block is passed to it, not self.
The LDAP module, as well as the LDAP::Conn, LDAP::SSLConn, LDAP::Entry, LDAP::Mod, LDAP::Control and LDAP::Schema classes, now have extensive RDoc documentation.
Changes in 0.8.4:
LDAP controls are now supported at the session level and passed between client and server in the @controls attribute of LDAP::Conn objects.
LDAP::Control::encode and LDAP::Control#decode are new methods for dealing with LDAP controls. The sample program example/pr_ctl demonstrates their use with the Paged Results (RFC2696) extension.
Custom LDAP::Entry#inspect and LDAP::Mod#inspect methods are now available, to provide better debugging and analysis without the need for manual disassembly of data returned by the server.
LDAP::Conn#bound? is a new method to detect whether an LDAP::Conn object is still bound to an LDAP server.
An exception is now raised if an attempt is made to set the LDAP protocol version after the bind has taken place. This is illegal, but seems to work with Active Directory servers.
The new attribute, @sasl_quiet, can be set to true on LDAP::Conn objects to silence the text emitted by OpenLDAP when a SASL operation is performed.