美文网首页
gitlab加域账号配置

gitlab加域账号配置

作者: 运维经理 | 来源:发表于2018-07-12 14:59 被阅读0次

gitlab.rb:

external_url 'http://gitlab.xxxx.com'

tlab_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'

  host: '172.18.21.140'

  port: 389

  uid: 'sAMAccountName'

  method: 'plain' # "tls" or "ssl" or "plain"

  bind_dn: 'Administrator@utech.com'

  password: 'Utech2018'

  active_directory: true

  allow_username_or_email_login: true

  block_auto_created_users: false

  base: 'dc=utech,dc=com'

  user_filter: ''

EOS

gitlab_rails['manage_backup_path'] = true

gitlab_rails['backup_path'] = "/var/opt/gitlab/backups"

gitlab_rails['backup_archive_permissions'] = 0644

gitlab_rails['backup_keep_time'] = 604800

相关文章

网友评论

      本文标题:gitlab加域账号配置

      本文链接:https://www.haomeiwen.com/subject/xfcrpftx.html