Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.mynetwork.com:8000/';
- gitlab_rails['lfs_enabled'] = true;
- gitlab_rails['gitlab_shell_ssh_port'] = 222;
- gitlab_rails['ldap_enabled'] = true;
- gitlab_rails['ldap_servers'] = YAML.load <<-EOS
- main:
- label: 'LDAP'
- host: 'myldapserver.mynetwork.com'
- port: 389
- uid: 'uid'
- bind_dn: 'cn=admin,dc=mynetwork,dc=com'
- password: 'yeahrightlikeidleavemypasswordin'
- encryption: 'plain'
- timeout: 10
- active_directory: false
- allow_username_or_email_login: true
- block_auto_created_users: false
- base: 'ou=people,dc=mynetwork,dc=com'
- user_filter: '(objectclass=user)'
- attributes:
- username: ['uid', 'userid']
- email: ['mail', 'email']
- name: 'cn'
- first_name: 'givenName'
- last_name: 'sn'
- lowercase_usernames: false
- EOS";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement