From 55d086ba08313e0cd7c649f38b45529b2a0968bb Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Tue, 14 Apr 2015 18:17:46 +0200 Subject: [PATCH] Clarify config var and add to LDAP docs. --- config/gitlab.yml.example | 4 +++- doc/integration/ldap.md | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/config/gitlab.yml.example b/config/gitlab.yml.example index 6a78a032c58..ba40671b162 100644 --- a/config/gitlab.yml.example +++ b/config/gitlab.yml.example @@ -146,7 +146,9 @@ production: &base # disable this setting, because the userPrincipalName contains an '@'. allow_username_or_email_login: false - # Locks down those users until they have been cleared by the admin (default: false). + # To maintain tight control over the number of active users on your GitLab installation, + # enable this setting to keep new users blocked until they have been cleared by the admin + # (default: false). block_auto_created_users: false # Base where we can search for users diff --git a/doc/integration/ldap.md b/doc/integration/ldap.md index 125ce31b521..b67f793c591 100644 --- a/doc/integration/ldap.md +++ b/doc/integration/ldap.md @@ -51,6 +51,11 @@ main: # 'main' is the GitLab 'provider ID' of this LDAP server # disable this setting, because the userPrincipalName contains an '@'. allow_username_or_email_login: false + # To maintain tight control over the number of active users on your GitLab installation, + # enable this setting to keep new users blocked until they have been cleared by the admin + # (default: false). + block_auto_created_users: false + # Base where we can search for users # # Ex. ou=People,dc=gitlab,dc=example