Last active
December 26, 2015 04:19
-
-
Save spuder/7092511 to your computer and use it in GitHub Desktop.
gitlab ldap config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A working configuration pulled from a puppet manifest. | |
The syntax is in puppet declaration language. Don't copy the syntax, simply refer to the values. | |
ldap_enabled => true, | |
ldap_host => 'microsoft.com', | |
ldap_base => 'DC=com', | |
ldap_port => '636', #Make sure firewall is open | |
ldap_uid => 'sAMAccountName', #LDAP = 'uid', AD = 'sAMAccountName' | |
ldap_method => 'ssl', #either ssl or plain | |
ldap_bind_dn => 'CN=foo,CN=users,DC=microsoft,DC=com' #foo=the bind user, CN=users is the search base | |
ldap_bind_password => 'bar', #bar=the bind user password | |
Here is a link to a puppet module that will setup gitlab for you. | |
https://forge.puppetlabs.com/spuder/gitlab |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment