Skip to content
Snippets Groups Projects
Commit 41a82692 authored by DJ Mountney's avatar DJ Mountney
Browse files

Merge branch 'dblessing_ldap_kerberos_mapping' into 'master'

Add Kerberos LDAP mapping configuration

See merge request gitlab-org/omnibus-gitlab!4608
parents d475f73a 3ffdeef8
No related branches found
No related tags found
No related merge requests found
---
title: Add Kerberos LDAP mapping configuration
merge_request: 4608
author:
type: added
Loading
Loading
@@ -2076,6 +2076,7 @@ gitlab_rails['object_store']['objects']['terraform_state']['bucket'] = nil
# gitlab_rails['kerberos_enabled'] = true
# gitlab_rails['kerberos_keytab'] = /etc/http.keytab
# gitlab_rails['kerberos_service_principal_name'] = HTTP/gitlab.example.com@EXAMPLE.COM
# gitlab_rails['kerberos_simple_ldap_linking_allowed_realms'] = ['example.com','kerberos.example.com']
# gitlab_rails['kerberos_use_dedicated_port'] = true
# gitlab_rails['kerberos_port'] = 8443
# gitlab_rails['kerberos_https'] = true
Loading
Loading
Loading
Loading
@@ -312,6 +312,7 @@ default['gitlab']['gitlab-rails']['smartcard_san_extensions'] = false
default['gitlab']['gitlab-rails']['kerberos_enabled'] = nil
default['gitlab']['gitlab-rails']['kerberos_keytab'] = nil
default['gitlab']['gitlab-rails']['kerberos_service_principal_name'] = nil
default['gitlab']['gitlab-rails']['kerberos_simple_ldap_linking_allowed_realms'] = nil
default['gitlab']['gitlab-rails']['kerberos_use_dedicated_port'] = nil
default['gitlab']['gitlab-rails']['kerberos_port'] = nil
default['gitlab']['gitlab-rails']['kerberos_https'] = nil
Loading
Loading
Loading
Loading
@@ -615,6 +615,12 @@ production: &base
# (default: accept any service name in keytab file)
service_principal_name: <%= @kerberos_service_principal_name %>
 
# Kerberos realms/domains that are allowed to automatically link LDAP identities.
# By default, GitLab accepts a realm that matches the domain derived from the
# LDAP `base` DN. For example, `ou=users,dc=example,dc=com` would allow users
# with a realm matching `example.com`.
simple_ldap_linking_allowed_realms: <%= @kerberos_simple_ldap_linking_allowed_realms.to_json %>
# Dedicated port: Git before 2.4 does not fall back to Basic authentication if Negotiate fails.
# To support both Basic and Negotiate methods with older versions of Git, configure
# nginx to proxy GitLab on an extra port (e.g. 8443) and uncomment the following lines
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment