From c1e2ce76c731fea1b21142110bcacd5986d83dc8 Mon Sep 17 00:00:00 2001
From: Bartlomiej Nogas <bart.nogas@gmail.com>
Date: Tue, 21 Oct 2014 06:05:35 -0400
Subject: [PATCH] Add configuration option 'acl_group_field' to use as ACL group identifier

---
 plugins/acl/config.inc.php.dist |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/acl/config.inc.php.dist b/plugins/acl/config.inc.php.dist
index de1f8b5..d8ef879 100644
--- a/plugins/acl/config.inc.php.dist
+++ b/plugins/acl/config.inc.php.dist
@@ -23,6 +23,9 @@
 // Prefix added to the group name to build IMAP ACL identifier
 $config['acl_group_prefix'] = 'group:';
 
+// The LDAP attribute which will be used as ACL group identifier
+$config['acl_group_field'] = 'name';
+
 // Include the following 'special' access control subjects in the ACL dialog;
 // Defaults to array('anyone', 'anonymous') (not when set to an empty array)
 // Example: array('anyone') to exclude 'anonymous'.

--
Gitblit v1.9.1