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' # remember to close this block with 'EOS' below
- main: # 'main' is the GitLab 'provider ID' of this LDAP server
- label: 'LDAP'
- host: 'XX.YYY.Z.XX'
- port: 389
- uid: 'sAMAccountName'
- method: 'plain' # "tls" or "ssl" or "plain"
- bind_dn: 'CN=john doe,OU=users,OU=Service Accounts,OU=corp,OU=India,OU=Users,OU=UserId&Rooms,DC=india,DC=local'
- password: 'pwd12345'
- active_directory: true
- allow_username_or_email_login: true
- block_auto_created_users: false
- base: 'CN=john.doe,OU=users,OU=Service Accounts,OU=corp,OU=India,OU=Users,OU=UserId&Rooms,DC=india,DC=local'
- user_filter: ''
- EOS
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement