Changeset View
Changeset View
Standalone View
Standalone View
plugins/kolab_addressbook/config.inc.php.dist
<?php | <?php | ||||
// Backend type (kolab, carddav) | |||||
$config['kolab_addressbook_driver'] = "kolab"; | |||||
// CalDAV server location (required when kolab_addressbook_driver = carddav) | |||||
$config['kolab_addressbook_carddav_server'] = "http://localhost"; | |||||
// This option allows to set addressbooks priority or to disable some | // This option allows to set addressbooks priority or to disable some | ||||
// of them. Disabled addressbooks will be not shown in the UI. Default: 0. | // of them. Disabled addressbooks will be not shown in the UI. Default: 0. | ||||
// 0 - "Global address book(s) first". Use all address books, starting with the global (LDAP) | // 0 - "Global address book(s) first". Use all address books, starting with the global (LDAP) | ||||
// 1 - "Personal address book(s) first". Use all address books, starting with the personal (Kolab) | // 1 - "Personal address book(s) first". Use all address books, starting with the personal (Kolab) | ||||
// 2 - "Global address book(s) only". Use the global (LDAP) addressbook. Disable the personal. | // 2 - "Global address book(s) only". Use the global (LDAP) addressbook. Disable the personal. | ||||
// 3 - "Personal address book(s) only". Use the personal (Kolab) addressbook(s). Disable the global. | // 3 - "Personal address book(s) only". Use the personal (Kolab) addressbook(s). Disable the global. | ||||
$config['kolab_addressbook_prio'] = 0; | $config['kolab_addressbook_prio'] = 0; | ||||
// Base URL to build fully qualified URIs to access address books via CardDAV | // Base URL to build fully qualified URIs to access address books via CardDAV | ||||
// The following replacement variables are supported: | // The following replacement variables are supported: | ||||
// %h - Current HTTP host | // %h - Current HTTP host | ||||
// %u - Current webmail user name | // %u - Current webmail user name | ||||
// %n - Folder name | // %n - Folder name | ||||
// %i - Folder UUID | // %i - Folder UUID | ||||
// $config['kolab_addressbook_carddav_url'] = 'http://%h/iRony/addressbooks/%u/%i'; | // For example: 'http://%h/iRony/addressbooks/%u/%i' | ||||
$config['kolab_addressbook_carddav_url'] = null; | |||||
// Name of LDAP addressbook (a key in ldap_public configuration array) for which | // Name of LDAP addressbook (a key in ldap_public configuration array) for which | ||||
// the CardDAV URI will be displayed if kolab_addressbook_carddav_url is set. | // the CardDAV URI will be displayed if kolab_addressbook_carddav_url is set. | ||||
// Use it when iRony's kolabdav_ldap_directory is enabled. | // Use it when iRony's kolabdav_ldap_directory is enabled. | ||||
// Note: kolab_addressbook_carddav_url must use %i and not %n. | // Note: kolab_addressbook_carddav_url must use %i and not %n. | ||||
// | // | ||||
// WARNING: There's limitations with volume and performance: | // WARNING: There's limitations with volume and performance: | ||||
// CardDAV does a full sync of the entire contact resource. | // CardDAV does a full sync of the entire contact resource. | ||||
// For LDAP this means that all entries matching the base_dn/filter are synced to every client. | // For LDAP this means that all entries matching the base_dn/filter are synced to every client. | ||||
// It's thus only recommended for small setups with a couple hundred LDAP entries. | // It's thus only recommended for small setups with a couple hundred LDAP entries. | ||||
// Other than that, the ldap-directory exposed in iRony is strictly read-only. | // Other than that, the ldap-directory exposed in iRony is strictly read-only. | ||||
// Although correctly stated in the CardDAV properties, some clients (e.g. the Thunderbird SoGO connector) | // Although correctly stated in the CardDAV properties, some clients (e.g. the Thunderbird SoGO connector) | ||||
// ignore these properties and allow modifications which then result in sync errors because the server | // ignore these properties and allow modifications which then result in sync errors because the server | ||||
// denies such updates. | // denies such updates. | ||||
$config['kolab_addressbook_carddav_ldap'] = ''; | $config['kolab_addressbook_carddav_ldap'] = ''; | ||||
?> |