cschiewek/devise_ldap_authenticatable — pull request #83 by ReneB (2012-05-24 14:39:24+00:00)
Title: Update ldap without service accounts

Hi CSchiewek,

I'm working in a project where users are allowed to update their own passwords and mail-forwarding-addresses, but using a service account for this would be a bit much - for starters, dealing out credentials for service accounts that have sufficient privileges to update the passwords of other users is a bad idea if it is not absolutely required to do so.

I realize that this is required to be able to use Recoverable, but seeing as how we do not need Recoverable, but _do_ need to update the password, I created a patch that allows such things. If you think it's useful, go ahead and integrate.

The bad part: I was unable to get the test suite to work as-is. It has some outdated dependencies and I try as I might, I could not find a configuration of Bundler / Rails / Test::Unit / ffi / Capybara that would actually run the tests without crashing. if you have a more up-to-date Gemfile / Gemfile.lock combination for the test/rails_app, I would be happy to oblige.