Low commit activity in last 3 years
A long-lived project that still receives updates
Easy authentication to an LDAP server(s)
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme
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.login_format = '%s@domain.com'
  SimpleLdapAuthenticator.logger = Logger.new($stdout)

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

github: http://github.com/jeremyevans/simple_ldap_authenticator