August 2019
Beginner
608 pages
16h 7m
English
There are several authentication providers available for GitLab. The main on-premise one is the LDAP interface (to Active Directory, OpenLDAP).
The first part is the enabling of the feature:
ldap: enabled: false
The next part is the declaration of servers:
servers: main: label: 'LDAP' host: '_your_ldap_server' port: 389 uid: 'sAMAccountName' bind_dn: '_the_full_dn_of_the_user_you_will_bind_with' password: '_the_password_of_the_bind_user'
As you can see, we define a label and set up a host and port. We also give the uid attribute to use and a password and bind_dn (object or user used to attach to LDAP).
You can set options for SSL to enhance security:
encryption: 'start_tls' verify_certificates: true ssl_version: 'TLSv1_1' ...
Read now
Unlock full access