Advertisement
Guest User

Untitled

a guest
Nov 3rd, 2016
194
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.21 KB | None | 0 0
  1. authorizations: &AUTHORIZATIONS
  2. ##allow_unauthenticated_bind: false
  3. ##group_base: DC=zzz,DC=yyy,DC=xxx
  4. #Requires config.ldap_check_group_membership in devise.rb be true
  5. # Can have multiple values, must match all to be authorized
  6. ##required_groups:
  7. # If only a group name is given, membership will be checked against "uniqueMember"
  8. ##- cn=admins,ou=groups,dc=zzz,dc=yyy,dc=xxx
  9. ##- cn=users,ou=groups,dc=zzz,dc=yyy,dc=xxx
  10. # If an array is given, the first element will be the attribute to check against, the second the group name
  11. ##- ["moreMembers", "cn=users,ou=groups,dc=test,dc=com"]
  12. ## Requires config.ldap_check_attributes in devise.rb to be true
  13. ## Can have multiple attributes and values, must match all to be authorized
  14. ##require_attribute:
  15. ##objectClass: inetOrgPerson
  16. ##authorizationRole: postsAdmin
  17.  
  18. ## Environment
  19.  
  20. development:
  21. host: host_name
  22. port: 389
  23. attribute: mail
  24. base: DC=zzz,DC=yyy,DC=xxx
  25. admin_user: user_name
  26. admin_password: *******
  27. ssl: false
  28.  
  29. LDAP: LDAP dn lookup: mail=login
  30. LDAP: LDAP search for login: mail=login
  31. LDAP: LDAP search yielded 0 matches
  32. LDAP: Authorizing user mail=login,DC=xxx,DC=zzz,DC=yyy
  33. LDAP: Not authorized because not authenticated.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement