Skip to content

Releases: Arcath/Adauth

v2.0.3

05 Sep 12:30

Choose a tag to compare

2.0.3 features a couple of bug fixes and some new features.

AR like searches and results

You can now query AD through some Active Record like methods which return an AR like search results class e.g.

Adauth::AdObjects::Users.find_by_surname("foo").order(:surname).limit(10)

v2.0.2

28 Aug 09:35

Choose a tag to compare

This release contains a major security fix! and is to be considered a required update from any version Please see this post for details on the issue.

You can also now create objects in AD and change group memberships.

2.0.1

14 Jul 17:01

Choose a tag to compare

General tidy up of the 2.0.0 code with increased test coverage and a fair bit of refactoring. (See v2.0.0...master for changes)

2.0.0

03 Jul 12:16

Choose a tag to compare

Adauth 2.0.0 is a complete rewrite of the code, nothing was copied over from 1.x but all the functionality was maintained, with some improvements!

About

2.0.0 is centered around the class Adauth::AdObject which acts as a super class which all the objects inherit from. This gave Adauth the flexibility to support any object within Active Directory very quickly and with minimal overhead, the code for OUs is only 10 lines long.

The way Adauth interacts with Rails has changed a lot as well and can now be used for any Adauth Object not just Users. This new functionality comes through Adauth::Rails::ModelBridge which can be included in any Model and only requires a couple of constants to be defined (See the Wiki).

Issues

The major issues addressed in this release are:

#29 Logging

Adauth will now log its activities to log/adauth.log. In the current git master branch Adauth logs additional information to help with errors, mainly LDAP errors.

#27 Encoding Issue

This has highlighted a major issue with net-ldap not being kept up to date. The hotfix file I've used came from a pull request submitted a year ago which was never pulled in.

This will be addressed at some point either by selecting one of the updated forks to use or making my own.

Dropped Features

Picking up on the currently logged in user (#10) has been dropped as something Adauth will do by itself. As described in the issue to do this will require you to install and configure extensions for your web server, once you do that its a simple matter to just modify the sessions controller to listen to that variable.