summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2010-01-11 10:29:22 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2010-01-11 10:29:22 (GMT)
commit147cf4a28bdedd8943c25676b92f5dae19c70fa7 (patch)
treec658e8d2f225d0078e5736b16a888777ab091060
parentc04b35c1a3a3ae7414f7531bc6c6700cdc64adec (diff)
downloadkolab-conf-147cf4a28bdedd8943c25676b92f5dae19c70fa7.tar.gz
MFB: Support configurable attribute mapping.
-rw-r--r--conf/templates/freebusy.conf.template.in18
-rw-r--r--conf/templates/resmgr.conf.template.in18
2 files changed, 36 insertions, 0 deletions
diff --git a/conf/templates/freebusy.conf.template.in b/conf/templates/freebusy.conf.template.in
index 4474e9e..4e98f91 100644
--- a/conf/templates/freebusy.conf.template.in
+++ b/conf/templates/freebusy.conf.template.in
@@ -59,6 +59,24 @@ $conf['kolab']['ldap']['basedn'] = '@@@base_dn@@@';
$conf['kolab']['ldap']['phpdn'] = '@@@php_dn@@@';
$conf['kolab']['ldap']['phppw'] = '@@@php_pw@@@';
+/**
+ * If you use customized LDAP attributes on your LDAP server the
+ * following configuration setting allows you to map the standard
+ * Kolab attribute names to your customizations.
+ *
+ * Specify the mapping line by line:
+ *
+ * $conf['kolab']['ldap']['map']['uid'] = 'uid2';
+ * $conf['kolab']['ldap']['map']['mobile'] = 'handy';
+ *
+ * or use a hash structure:
+ *
+ * $conf['kolab']['ldap']['map'] = array('uid' => 'uid2',
+ * 'mobile' => 'handy');
+ *
+ */
+//$conf['kolab']['ldap']['map']['uid'] = 'uid2';
+
/* Horde::Kolab::IMAP configuration */
$conf['kolab']['imap']['server'] = '@@@fqdnhostname@@@';
$conf['kolab']['imap']['port'] = 143;
diff --git a/conf/templates/resmgr.conf.template.in b/conf/templates/resmgr.conf.template.in
index 43eb6e4..e81c32d 100644
--- a/conf/templates/resmgr.conf.template.in
+++ b/conf/templates/resmgr.conf.template.in
@@ -139,6 +139,24 @@ $conf['kolab']['ldap']['phpdn'] = '@@@php_dn@@@';
/* What password should we use with the above DN when binding? */
$conf['kolab']['ldap']['phppw'] = '@@@php_pw@@@';
+/**
+ * If you use customized LDAP attributes on your LDAP server the
+ * following configuration setting allows you to map the standard
+ * Kolab attribute names to your customizations.
+ *
+ * Specify the mapping line by line:
+ *
+ * $conf['kolab']['ldap']['map']['uid'] = 'uid2';
+ * $conf['kolab']['ldap']['map']['mobile'] = 'handy';
+ *
+ * or use a hash structure:
+ *
+ * $conf['kolab']['ldap']['map'] = array('uid' => 'uid2',
+ * 'mobile' => 'handy');
+ *
+ */
+//$conf['kolab']['ldap']['map']['uid'] = 'uid2';
+
/* What account should we use to read/write calendar data? This
* account should have access to the calendar mailbox of all
* resource/group mailboxes.