You are here

authorization.authorization_profile.ldap_roles.yml in Lightweight Directory Access Protocol (LDAP) 8.4

docs/hogwarts/drupal_configuration/authorization.authorization_profile.ldap_roles.yml

File

docs/hogwarts/drupal_configuration/authorization.authorization_profile.ldap_roles.yml
View source
  1. langcode: en
  2. status: true
  3. dependencies: { }
  4. id: ldap_roles
  5. label: 'LDAP Roles'
  6. provider: ldap_provider
  7. provider_config:
  8. status:
  9. server: hogwarts
  10. only_ldap_authenticated: 1
  11. filter_and_mappings:
  12. use_first_attr_as_groupid: 0
  13. provider_mappings:
  14. -
  15. query: 'cn=users,ou=groups,dc=hogwarts,dc=edu'
  16. is_regex: 0
  17. -
  18. query: 'cn=gryffindor,ou=groups,dc=example,dc=org'
  19. is_regex: 0
  20. -
  21. query: ''
  22. is_regex: 0
  23. -
  24. query: ''
  25. is_regex: 0
  26. -
  27. query: ''
  28. is_regex: 0
  29. consumer: authorization_drupal_roles
  30. consumer_config: { }
  31. consumer_mappings:
  32. -
  33. role: student
  34. -
  35. role: wizard
  36. -
  37. role: none
  38. -
  39. role: none
  40. -
  41. role: none
  42. synchronization_modes:
  43. user_logon: user_logon
  44. synchronization_actions:
  45. revoke_provider_provisioned: revoke_provider_provisioned
  46. regrant_provider_provisioned: regrant_provider_provisioned
  47. create_consumers: 0