From 60b87048c1f5bc51c194fe7f6b0f2075c6feb11a Mon Sep 17 00:00:00 2001
From: Morris Jobke <hey@morrisjobke.de>
Date: Fri, 25 Sep 2015 09:17:51 +0200
Subject: [PATCH] Add doc to config.sample for enforce LDAP home folder naming
 rule

* ref #16891
---
 config/config.sample.php | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/config/config.sample.php b/config/config.sample.php
index 51529cdb0c..e0c486d75c 100644
--- a/config/config.sample.php
+++ b/config/config.sample.php
@@ -806,6 +806,21 @@ $CONFIG = array(
  */
 'ldapUserCleanupInterval' => 51,
 
+/**
+ * Enforce the existence of the home folder naming rule for all users
+ *
+ * Following scenario:
+ *  * a home folder naming rule is set in LDAP advanced settings
+ *  * a user doesn't have the home folder naming rule attribute set
+ *
+ * If this is set to **true** (default) it will NOT fallback to the core's
+ * default naming rule of using the internal user ID as home folder name.
+ *
+ * If this is set to **false** it will fallback for the users without the
+ * attribute set to naming the home folder like the internal user ID.
+ *
+ */
+'enforce_home_folder_naming_rule' => true,
 
 /**
  * Maintenance
-- 
GitLab