diff --git a/gitlab/gitlab.rb b/gitlab/gitlab.rb index eee4b1c..627d704 100644 --- a/gitlab/gitlab.rb +++ b/gitlab/gitlab.rb @@ -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