summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-03-12 16:14:17 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-03-13 09:19:47 (GMT)
commit4c27c1607e81d3b98c67656fee99c01edc4c025f (patch)
treed24c8ee150c01331208b932b28bba3a02acc657f /config
parent09d660c042449c8e157e56a7ffdbe9168ae32a90 (diff)
downloadiRony-4c27c1607e81d3b98c67656fee99c01edc4c025f.tar.gz
Optionally cache LDAP directory listing and record payloads
Diffstat (limited to 'config')
-rw-r--r--config/dav.inc.php.sample9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/dav.inc.php.sample b/config/dav.inc.php.sample
index 349ca28..d66ad6d 100644
--- a/config/dav.inc.php.sample
+++ b/config/dav.inc.php.sample
@@ -93,6 +93,10 @@ $config['kolabdav_ldap_directory'] = array(
'phone:work' => 'alternateTelephoneNumber',
'phone:mobile' => 'mobile',
'phone:work2' => 'blackberry',
+ 'street' => 'street',
+ 'zipcode' => 'postalCode',
+ 'locality' => 'l',
+ 'organization' => 'o',
'jobtitle' => 'title',
'photo' => 'jpegphoto',
// required for internal handling and caching
@@ -101,3 +105,8 @@ $config['kolabdav_ldap_directory'] = array(
),
);
*/
+
+// Enable caching for LDAP directory data.
+// This is recommended with 'searchonly' => false to speed-up sychronization of multiple clients
+// $rcmail_config['kolabdav_ldap_cache'] = 'memcache';
+// $rcmail_config['kolabdav_ldap_cache_ttl'] = 600; // in seconds