SimpleLdapAuthenticator

Allows for simple authentication to an LDAP server with a minimum of configuration. Requires either Ruby/LDAP or Net::LDAP.

Example Usage:

require 'simple_ldap_authenticator'
require 'logger'

SimpleLdapAuthenticator.servers = %w'dc1.domain.com dc2.domain.com'
SimpleLdapAuthenticator.use_ssl = true
SimpleLdapAuthenticator. = '%[email protected]'
SimpleLdapAuthenticator.logger = Logger.new($stdout)

SimpleLdapAuthenticator.valid?(username, password)
# => true or false (or raise if there is an issue connecting to the server)

github: github.com/jeremyevans/simple_ldap_authenticator