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'
- uid: 'sAMAccountName'
- method: 'plain'
- # bind_dn: 'c3\gitldap'
- bind_dn: 'CN=GIT LDAP,OU=C3_APP_USERS,OU=C3_USER_REPO,DC=C3,DC=LOCAL'
- password: 'password'
- 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: 'sAMAccountName'
- # email: ['mail', 'email', 'userPrincipalName']
- name: 'cn'
- first_name: 'givenName'
- last_name: 'sn'
- EOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement