1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/gitlab_ynh.git synced 2024-09-03 18:36:35 +02:00

Update LDAP conf

This commit is contained in:
Kay0u 2019-11-07 18:55:30 +09:00
parent 0f493a1daf
commit d5ab49e68e
No known key found for this signature in database
GPG key ID: 7FF262C033518333

View file

@ -359,18 +359,18 @@ gitlab_rails['ldap_enabled'] = true
gitlab_rails['ldap_servers'] = YAML.load <<-'EOS' # remember to close this block with 'EOS' below 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 main: # 'main' is the GitLab 'provider ID' of this LDAP server
label: 'LDAP' label: 'YunoHost LDAP'
host: 'localhost' host: 'localhost'
port: 389 port: 389
uid: 'uid' uid: 'uid'
encryption: 'plain' # "start_tls" or "simple_tls" or "plain" encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
bind_dn: '' bind_dn: 'ou=users,dc=yunohost,dc=org'
password: '' password: ''
active_directory: false active_directory: false
allow_username_or_email_login: false allow_username_or_email_login: false
block_auto_created_users: false block_auto_created_users: false
base: 'ou=users,dc=yunohost,dc=org' base: 'dc=yunohost,dc=org'
user_filter: '' 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 EOS
### Smartcard authentication settings ### Smartcard authentication settings