From 89862672e14bd5962d94c0015507005544b732a4 Mon Sep 17 00:00:00 2001 From: Iwan Clement Date: Sat, 18 Apr 2020 21:20:29 +0200 Subject: [PATCH] =?UTF-8?q?config=20ldap=20prete=20=C3=A0=20tester?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gitlab/gitlab.rb | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gitlab/gitlab.rb b/gitlab/gitlab.rb index 627d704..f7be1f5 100644 --- a/gitlab/gitlab.rb +++ b/gitlab/gitlab.rb @@ -383,8 +383,8 @@ gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' 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' + bind_dn: 'DN=ldapuser,OU=Users,OU=Dardilly,DC=PIDOM,DC=CHEZCLEMENT,DC=MAISON' + password: 'E2ggSY3v33y5B6uwyjNXYGT2y_' encryption: 'plain' # "start_tls" or "simple_tls" or "plain" verify_certificates: false # smartcard_auth: false @@ -392,11 +392,10 @@ gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' allow_username_or_email_login: false lowercase_usernames: false block_auto_created_users: false -# base: '' + base: 'DC=pidom,DC=chezclement.DC=maison' # user_filter: '' # -# EOS - +EOS ### Smartcard authentication settings ###! Docs: https://docs.gitlab.com/ee/administration/auth/smartcard.html