From 13db9ee199b0a452a6efaf09e6f7c5a76f739ef5 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Thu, 29 Mar 2012 07:14:47 -0400
Subject: [PATCH] - Support LDAP RFC2256's country object class read/write (#1488123)

---
 config/main.inc.php.dist |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/config/main.inc.php.dist b/config/main.inc.php.dist
index 1d3a78a..69871e3 100644
--- a/config/main.inc.php.dist
+++ b/config/main.inc.php.dist
@@ -580,6 +580,8 @@
   // the object classes (can include additional fields not required by the object classes).
   'required_fields' => array('cn', 'sn', 'mail'),
   'search_fields'   => array('mail', 'cn'),  // fields to search in
+  // Map of contact sub-objects (attribute name => objectClass(es)), e.g. 'c' => 'country'
+  'sub_fields' => array(),
   // mapping of contact fields to directory attributes
   'fieldmap' => array(
     // Roundcube  => LDAP

--
Gitblit v1.9.1