Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gitlab_rails['ldap_enabled'] = true
- gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
- main:
- label: 'LDAP'
- host: '10.x.x.x'
- port: 389
- uid: 'gitldap'
- method: 'plain'
- bind_dn: 'CN=GIT LDAP,OU=C3_APP_USERS,OU=C3_USER_REPO,DC=C3,DC=LOCAL'
- password: 'passw0rd'
- active_directory: true
- allow_username_or_email_login: false
- block_auto_created_users: false
- base: 'DC=C3,DC=LOCAL'
- user_filter: '(&(objectCategory=user)(objectClass=user)(memberOf=CN=C3_GIT_Admin,OU=C3_PAAS_SUPPORT_TEAM,OU=C3_USER_REPO,DC=C3,DC=LOCAL))'
- attributes:
- username: ['uid', 'userid', 'sAMAccountName']
- email: ['mail', 'email', 'userPrincipalName']
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement