Sha256: 23c4c451d0224657e1d1044ef0b91afaa18b789d0b2352a32e9a95da7830248e

Contents?: true

Size: 1.62 KB

Versions: 7

Compression:

Stored size: 1.62 KB

Contents

## Authorizations
# Uncomment out the merging for each enviornment that you'd like to include.
# You can also just copy and paste the tree (do not include the "authorizations") to each
# enviornment 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

## Enviornments

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

7 entries across 7 versions & 2 rubygems

Version Path
devise_ldap_authenticatable-0.6.1 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
prathe_devise_ldap_authenticatable-0.6.0 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.6.0 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.5.1 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.5.0 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
prathe_devise_ldap_authenticatable-0.4.10 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.10 lib/generators/devise_ldap_authenticatable/templates/ldap.yml