-
Notifications
You must be signed in to change notification settings - Fork 6
Simple authentication for Ruby using LDAP
License
jeremyevans/simple_ldap_authenticator
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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
About
Simple authentication for Ruby using LDAP
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published