summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSascha Wilde <wilde@intevation.de>2009-10-13 13:24:08 (GMT)
committerSascha Wilde <wilde@intevation.de>2009-10-13 13:24:08 (GMT)
commite331a472c28e99cd7b2c7d330b1e9f31af58e9df (patch)
treecd6ac59b066cfb1d6203936c5b14c08d08f4b40b
parentc3a47da45d110e843dcca195d4872756bf45f94b (diff)
downloadkolab-conf-e331a472c28e99cd7b2c7d330b1e9f31af58e9df.tar.gz
Added ability to map arbitrary ldap attributes to those expected by kolab.
(Merged from suc branch)
-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 cf61659..91df291 100644
--- a/conf/templates/freebusy.conf.template.in
+++ b/conf/templates/freebusy.conf.template.in
@@ -58,6 +58,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 247b1eb..173899b 100644
--- a/conf/templates/resmgr.conf.template.in
+++ b/conf/templates/resmgr.conf.template.in
@@ -138,6 +138,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.