This commit is contained in:
Iwan Clement
2020-04-18 21:18:16 +02:00
parent fb0b462725
commit f927702cb2

View File

@@ -376,6 +376,28 @@
# sync_ssh_keys: false
# EOS
###! **remember to close this block with 'EOS' below**
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
main: # 'main' is the GitLab 'provider ID' of this LDAP server
label: 'LDAP PIDOM'
host: '192.168.111.252'
port: 389
uid: 'sAMAccountName'
# bind_dn: '_the_full_dn_of_the_user_you_will_bind_with'
# password: '_the_password_of_the_bind_user'
encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
verify_certificates: false
# smartcard_auth: false
active_directory: true
allow_username_or_email_login: false
lowercase_usernames: false
block_auto_created_users: false
# base: ''
# user_filter: ''
#
# EOS
### Smartcard authentication settings
###! Docs: https://docs.gitlab.com/ee/administration/auth/smartcard.html
# gitlab_rails['smartcard_enabled'] = false