Sha256: 610767d102c2c4d6eef4b37fd8d2848cd266a9f8b3bd97a65c8fd3fef760c384
Contents?: true
Size: 1.62 KB
Versions: 6
Compression:
Stored size: 1.62 KB
Contents
## Authorizations # Uncomment out the merging for each environment that you'd like to include. # You can also just copy and paste the tree (do not include the "authorizations") to each # environment if you need something different per enviornment. authorizations: &AUTHORIZATIONS group_base: ou=groups,dc=test,dc=com ## Requires config.ldap_check_group_membership in devise.rb be true # Can have multiple values, must match all to be authorized required_groups: # If only a group name is given, membership will be checked against "uniqueMember" - cn=admins,ou=groups,dc=test,dc=com - cn=users,ou=groups,dc=test,dc=com # If an array is given, the first element will be the attribute to check against, the second the group name - ["moreMembers", "cn=users,ou=groups,dc=test,dc=com"] ## Requires config.ldap_check_attributes in devise.rb to be true ## Can have multiple attributes and values, must match all to be authorized require_attribute: objectClass: inetOrgPerson authorizationRole: postsAdmin ## Environment development: host: localhost port: 389 attribute: cn base: ou=people,dc=test,dc=com admin_user: cn=admin,dc=test,dc=com admin_password: admin_password ssl: false # <<: *AUTHORIZATIONS test: host: localhost port: 3389 attribute: cn base: ou=people,dc=test,dc=com admin_user: cn=admin,dc=test,dc=com admin_password: admin_password ssl: simple_tls # <<: *AUTHORIZATIONS production: host: localhost port: 636 attribute: cn base: ou=people,dc=test,dc=com admin_user: cn=admin,dc=test,dc=com admin_password: admin_password ssl: start_tls # <<: *AUTHORIZATIONS
Version data entries
6 entries across 6 versions & 2 rubygems