File plesk.kolab_addressbook.inc.php of Package roundcubemail-plugins-kolab
42
1
2
3
4
// This option allows to set addressbooks priority or to disable some
5
// of them. Disabled addressbooks will be not shown in the UI. Default: 0.
6
// 0 - "Global address book(s) first". Use all address books, starting with the global (LDAP)
7
// 1 - "Personal address book(s) first". Use all address books, starting with the personal (Kolab)
8
// 2 - "Global address book(s) only". Use the global (LDAP) addressbook. Disable the personal.
9
// 3 - "Personal address book(s) only". Use the personal (Kolab) addressbook(s). Disable the global.
10
$config['kolab_addressbook_prio'] = 0;
11
12
// Base URL to build fully qualified URIs to access address books via CardDAV
13
// The following replacement variables are supported:
14
// %h - Current HTTP host
15
// %u - Current webmail user name
16
// %n - Folder name
17
// %i - Folder UUID
18
$config['kolab_addressbook_carddav_url'] = (
19
(
20
array_key_exists('HTTPS', $_SERVER) &&
21
!empty($_SERVER['HTTPS']) &&
22
$_SERVER['HTTPS'] !== 'off'
23
) ? "https://" : "http://") .
24
$_SERVER["HTTP_HOST"] . "/iRony/addressbooks/%u/%i/";
25
26
// Name of LDAP addressbook (a key in ldap_public configuration array) for which
27
// the CardDAV URI will be displayed if kolab_addressbook_carddav_url is set.
28
// Use it when iRony's kolabdav_ldap_directory is enabled.
29
// Note: kolab_addressbook_carddav_url must use %i and not %n.
30
//
31
// WARNING: There's limitations with volume and performance:
32
// CardDAV does a full sync of the entire contact resource.
33
// For LDAP this means that all entries matching the base_dn/filter are synced to every client.
34
// It's thus only recommended for small setups with a couple hundred LDAP entries.
35
// Other than that, the ldap-directory exposed in iRony is strictly read-only.
36
// Although correctly stated in the CardDAV properties, some clients (e.g. the Thunderbird SoGO connector)
37
// ignore these properties and allow modifications which then result in sync errors because the server
38
// denies such updates.
39
$config['kolab_addressbook_carddav_ldap'] = '';
40
41
42