Sha256: 8e256db91e6b5e975b8a22f3d13a9a1083a0ec552f8a766ab99a559386cbc642

Contents?: true

Size: 1.36 KB

Versions: 7

Compression:

Stored size: 1.36 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:
    - cn=admins,ou=groups,dc=test,dc=com
    - 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: false
  # <<: *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: true
  # <<: *AUTHORIZATIONS

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
devise_ldap_authenticatable-0.4.5 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.4 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.3 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.2 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.1.1 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.1 lib/generators/devise_ldap_authenticatable/templates/ldap.yml
devise_ldap_authenticatable-0.4.0 lib/generators/devise_ldap_authenticatable/templates/ldap.yml