This repository has been archived by the owner on Oct 5, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update permissions mappings to be optional
- Loading branch information
Ryan Sonnek
committed
Jul 14, 2011
1 parent
e03d04f
commit af3a9a6
Showing
3 changed files
with
81 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
--- | ||
# LDAP connections | ||
connections: | ||
example_connection_1: | ||
username: "cn=Directory Manager" | ||
password: "test" | ||
host: localhost | ||
port: 1389 | ||
basedn: "dc=example,dc=com" | ||
filter: "(mail=*)" | ||
|
||
|
||
# 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 | ||
# optional setting if script must connect to Socialcast server through a proxy | ||
# proxy: "http://username:password@proxy.company.com:3128" | ||
|