Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2018
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. GITLAB_OMNIBUS_CONFIG="external_url 'http://gitlab.mynetwork.com:8000/';
  2. gitlab_rails['lfs_enabled'] = true;
  3. gitlab_rails['gitlab_shell_ssh_port'] = 222;
  4. gitlab_rails['ldap_enabled'] = true;
  5. gitlab_rails['ldap_servers'] = YAML.load <<-EOS
  6. main:
  7. label: 'LDAP'
  8. host: 'myldapserver.mynetwork.com'
  9. port: 389
  10. uid: 'uid'
  11. bind_dn: 'cn=admin,dc=mynetwork,dc=com'
  12. password: 'yeahrightlikeidleavemypasswordin'
  13. encryption: 'plain'
  14. timeout: 10
  15. active_directory: false
  16. allow_username_or_email_login: true
  17. block_auto_created_users: false
  18. base: 'ou=people,dc=mynetwork,dc=com'
  19. user_filter: '(objectclass=user)'
  20. attributes:
  21. username: ['uid', 'userid']
  22. email: ['mail', 'email']
  23. name: 'cn'
  24. first_name: 'givenName'
  25. last_name: 'sn'
  26. lowercase_usernames: false
  27. EOS";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement