From d5ab49e68e5c88d3ebc7f8f53cf805439cac7283 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Thu, 7 Nov 2019 18:55:30 +0900 Subject: [PATCH] Update LDAP conf --- conf/gitlab.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/gitlab.rb b/conf/gitlab.rb index b81c81e..7574900 100644 --- a/conf/gitlab.rb +++ b/conf/gitlab.rb @@ -359,18 +359,18 @@ 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' + label: 'YunoHost LDAP' host: 'localhost' port: 389 uid: 'uid' encryption: 'plain' # "start_tls" or "simple_tls" or "plain" - bind_dn: '' + bind_dn: 'ou=users,dc=yunohost,dc=org' password: '' active_directory: false allow_username_or_email_login: false block_auto_created_users: false - base: 'ou=users,dc=yunohost,dc=org' - user_filter: '' + base: 'dc=yunohost,dc=org' + user_filter: '(&(objectClass=posixAccount))' # group_base is only available in GitLab Enterprise Edition, so I can't add (permission=cn=gitlab.main,ou=permission,dc=yunohost,dc=org) EOS ### Smartcard authentication settings