Skip to content

Instantly share code, notes, and snippets.

@prathamesh-sonpatki
Created October 16, 2012 14:21
Show Gist options
  • Save prathamesh-sonpatki/3899557 to your computer and use it in GitHub Desktop.
Save prathamesh-sonpatki/3899557 to your computer and use it in GitHub Desktop.
devise.rb and error
# Devise.rb
Devise.setup do |config|
# ==> LDAP Configuration
config.ldap_logger = true
config.ldap_create_user = true
#config.ldap_update_password = true
#config.ldap_config = "#{Rails.root}/config/ldap.yml"
#config.ldap_check_group_membership = true
config.ldap_check_attributes = true
config.ldap_use_admin_to_bind = true
#config.ldap_ad_group_check = true
# Error
devise_ldap_authenticatable (0.6.1) lib/devise_ldap_authenticatable/ldap_adapter.rb:210:in `has_required_attribute?'
devise_ldap_authenticatable (0.6.1) lib/devise_ldap_authenticatable/ldap_adapter.rb:157:in `authorized?'
devise_ldap_authenticatable (0.6.1) lib/devise_ldap_authenticatable/ldap_adapter.rb:14:in `valid_credentials?'
devise_ldap_authenticatable (0.6.1) lib/devise_ldap_authenticatable/model.rb:45:in `valid_ldap_authentication?'
org/jruby/RubyKernel.java:2080:in `send'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment