Sha256: bea8f6c33b979eff4f5d11ba9c54351e3f24ae15adf29f98e8207b5b8c62c77c

Contents?: true

Size: 1.34 KB

Versions: 3

Compression:

Stored size: 1.34 KB

Contents

--- 
# LDAP connections
connections:
  example_connection_1:
    username: "cn=Directory Manager"
    password: "test"
    host: localhost
    port: 1389
    basedn: "dc=example,dc=com"
    filter: "(mail=*)"
    mappings:
      email: mailCon


# LDAP attribute mappings
mappings: 
  first_name: givenName
  last_name: sn
  email: mail
  # only use employee_number if the email is unknown
  # employee_number: emp_id
  # only use unique_identifier if you do not wish to use email as the main user identification method
  # unique_identifier: samaccountname


# Map LDAP Group Memberships to Socialcast Permissions
permission_mappings:
  # configure LDAP field for group memberships (ex: memberof, isMemberOf, etc)
  attribute_name: isMemberOf
  account_types:
    external: "cn=External,dc=example,dc=com"
  roles:
    tenant_admin: "cn=Admins,dc=example,dc=com"
    sbi_admin: "cn=SbiAdmins,dc=example,dc=com"
    reach_admin: "cn=ReachAdmins,dc=example,dc=com"
    town_hall_admin: "cn=TownHallAdmins,dc=example,dc=com"


# general script options
options:
  # cleanup the extracted ldap data file after run is complete
  delete_users_file: false
  # skip sending emails to newly activated users
  skip_emails: true
  # do not actually provision accounts
  # useful during testing
  test: true


# http options for connecting to Socialcast servers
http:
  timeout: 660

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
socialcast-1.3.2 spec/fixtures/ldap_with_connection_mapping.yml
socialcast-1.3.1 spec/fixtures/ldap_with_connection_mapping.yml
socialcast-1.3.0 spec/fixtures/ldap_with_connection_mapping.yml