RAA - ruby-ldap/0.9.8

ruby-ldap / 0.9.8

Short description: A Ruby extension library for accessing the LDAP API.
Category: Library/Database
Status: stable
Created: 2002-07-29 05:56:46 GMT
Last update: 2010-05-19 08:25:06 GMT
Owner: Alexey Chebotar (Projects of this owner)
Homepage: http://github.com/alexey-chebotar/ruby-ldap
Download: http://github.com/alexey-chebotar/ruby-ldap
License: BSD-type
Dependency:
None
Description:

'Ruby/LDAP' is a Ruby extension library that provides an interface to the LDAP
API as described in RFC1823.

Copyright (C) 2000-2004 Takaaki Tateishi <ttate@users.sourceforge.net>
Copyright (C) 2005-2006 Ian Macdonald <ian@caliban.org>
Copyright (C) 2009-2010 Alexey Chebotar <alexey.chebotar@gmail.com>


Changes in 0.9.8:

Supported Ruby 1.9.x.


Changes in 0.9.7:

Deletion and replacement operations did not work properly on Win32 systems.


Changes in 0.9.6:

A segfault on FreeBSD when using AMD64 was fixed for this release.

The only other changes are minor clarifications of the documentation.


Changes in 0.9.5:

The Windows build is now believed to work out of the box. It has been tested on Windows XP SP2, using SVC C++ 6.0 to build the software. Thanks to Chris Scharf <scharfie@gmail.com> for his work in this area and willingness to work with me on fixing the problems.


Changes in 0.9.4:

LDAP::Conn#search, LDAP::Conn#search2, LDAP::Conn#search_ext and LDAP::Conn#search_ext2 have been modified to treat LDAP_SIZELIMIT_EXCEEDED as success. After using any of these four 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 behaviour if the user has deliberately put a limit on the number of results to be returned, in order to spare the server.

Some duplicate code has been refactored.

Missing RDoc documentation has been added for LDAP::Conn#err.


Changes in 0.9.3:

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.


Changes in 0.9.2:

A minor build problem on certain architectures was fixed.

For Conn#search, Conn#search2, Conn#search_ext and Conn#search_ext2, we now allow attrs to be a string, in which case the parameter is treated as a single-element array.


Changes in 0.9.1:

Conn#search, Conn#search2, Conn#search_ext2 and Conn#search_ext2 now accept only nil or an array for the attrs parameter.

LDAP::Entry#[] is now an alias for LDAP::Entry#get_values.

Conn#compare and Conn#compare_ext now return either true or false, rather than raising an LDAP::ResultError exception and indicating success or failure in the message.

If an LDAP::Conn or LDAP::SSLConn connection becomes unbound, calling #bind, #simple_bind or #sasl_bind now reconnects to the server using the original parameters and then performs the bind. This allows one to rebind using new credentials.

LDAP::Conn#bound? was throwing an exception when invoked on a Conn object on which an explicit #unbind had been performed. This has been fixed.

Invoking LDAP::Conn#sasl_bind now sets the LDAP protocol to v3 if it is not already so. This is required for a SASL bind.

LDAP::Conn#sasl_bind did not detect attempts to bind more than once. This is now done.

SSLConn#open now returns a NotImplementedError exception. Previously, it would call the same method in the superclass, which would not work.

Unused variables removed to silence gcc warnings.

More unit tests and documentation fixes.


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.

Versions: [0.9.11 (2010-05-19)] [0.9.10 (2010-05-19)] [0.9.9 (2010-05-19)] [0.9.8 (2010-05-19)] [0.9.7 (2006-08-09)] [0.9.6 (2006-08-02)] [0.9.5 (2006-04-20)] [0.9.4 (2006-03-08)] [0.9.3 (2006-02-18)] [0.9.2 (2005-07-08)] [0.9.1 (2005-03-15)] [0.9.0 (2005-03-03)] [0.8.4 (2005-02-08)] [0.8.3 (2005-01-24)] [0.8.2 (2004-06-14)]

Edit this project (for project owner)

back to RAA top