记不同服务接入ldap配置

  1. gitlab
gitlab.rb中增加配置:

gitlab_rails['ldap_servers'] = YAML.load <<-'EOS'
  main: # 'main' is the GitLab 'provider ID' of this LDAP server
    label: 'LDAP'
    host: '192.168.1.xxx'
    port: 389
    uid: 'uid'
    bind_dn: 'cn=xxx,dc=xxx,dc=com'
    password: 'xxxx'
    encryption: 'plain' # "start_tls" or "simple_tls" or "plain"
    verify_certificates: true
    active_directory: true
    allow_username_or_email_login: true 
    lowercase_usernames: false
    block_auto_created_users: false
    base: 'ou=People,dc=xxx,dc=com'
    user_filter: ''
EOS
  1. jms

image

  1. zabbix

image

  1. jenkins

image

  1. yapi

config.json:
image

  1. nexus

image

  1. wiki

image

  1. jira

image

  1. openvpn

image

posted @ 2022-05-10 22:05  没有猫的猫奴  阅读(98)  评论(0)    收藏  举报