summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGunnar Wrobel <wrobel@pardus.de>2009-04-23 07:16:02 (GMT)
committerGunnar Wrobel <wrobel@pardus.de>2009-04-23 07:16:02 (GMT)
commitc80793b80189bc8f819b65d6308ead0657af67b6 (patch)
treefb9b1bb7c299ddb7d3c0bd5b000f76ad3b872e79
parent24e3f461d83794f1a85131dffd3784295ef4ae85 (diff)
downloadserver-c80793b80189bc8f819b65d6308ead0657af67b6.tar.gz
Demo configuration for attribute mapping.
-rw-r--r--kolab-webclient/webclient-kolab-conf.template17
-rw-r--r--kolabd/kolabd/ChangeLog5
-rw-r--r--kolabd/kolabd/templates/resmgr.conf.template.in18
3 files changed, 40 insertions, 0 deletions
diff --git a/kolab-webclient/webclient-kolab-conf.template b/kolab-webclient/webclient-kolab-conf.template
index b388fc6..4c64076 100644
--- a/kolab-webclient/webclient-kolab-conf.template
+++ b/kolab-webclient/webclient-kolab-conf.template
@@ -12,6 +12,23 @@ $conf['kolab']['ldap']['server'] = '@@@ldap_uri@@@';
$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';
@@@if cyrus-imap@@@
$conf['kolab']['imap']['server'] = '@@@fqdnhostname@@@';
@@@else@@@
diff --git a/kolabd/kolabd/ChangeLog b/kolabd/kolabd/ChangeLog
index b593177..f9c973b 100644
--- a/kolabd/kolabd/ChangeLog
+++ b/kolabd/kolabd/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-23 Gunnar Wrobel <p@rdus.de>
+
+ * templates/resmgr.conf.template.in: Configuration support for
+ LDAP attribute mapping.
+
2009-04-20 Thomas Arendsen Hein <thomas@intevation.de>
* templates/slapd.conf.template.in: Make kolabAllowSMTPRecipient
diff --git a/kolabd/kolabd/templates/resmgr.conf.template.in b/kolabd/kolabd/templates/resmgr.conf.template.in
index 247b1eb..173899b 100644
--- a/kolabd/kolabd/templates/resmgr.conf.template.in
+++ b/kolabd/kolabd/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.