This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
ldap.cfg.example
66 lines (66 loc) · 2.08 KB
/
ldap.cfg.example
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
//LDAP
// Connection
$ldap_scheme = "ldap";
$ldap_start_tls = true;
$ldap_host = 'freeipa.example.com';
$ldap_port = '389';
$ldap_user = 'uid=reader,cn=users,cn=accounts,dc=example,dc=com';
$ldap_password = 'reader';
// The root of catalog
$ldap_root = 'dc=example,dc=com';
// Base for search uid
$ldap_base = "cn=users,cn=accounts,$ldap_root";
// Base for search group membership
$ldap_base_manager = "cn=TopManagers,ou=groups,$ldap_root";
// VARS
$ldap_uid = $_GET['user'];
$ldap_filter = "(uid=$ldap_uid)";
$ldap_filter_manager = "(memberUid=$ldap_uid)";
$ldap_map_entryuuid = 'ipaUniqueID';
$ldap_map_city = 'l';
$ldap_target_gid = '1100';
// Organisation
$exten_prefix = ' доб. 1-';
$telnumber_all = '8-800-2000-600';
$telnumber_manager = '8-800-2000-666';
$im_enabled = true;
$im_default = '<br>Telegram channel: @support';
$im_prefix = 'Telegram: ';
// Thunderbird
$mail_domain = 'mail.example.com';
$mail_server_type = 'imap';
$mail_server_port = '143';
$mail_smtp_desc = 'SMTP server of our company';
$mail_smtp_port = '25';
$mail_identity_org = 'Example, Inc.';
$mail_ldap_description = 'FreeIPA';
$mail_ldap_uri = "$ldap_scheme://$ldap_host:$ldap_port/$ldap_base??sub?(objectClass=person)";
$mail_ldap_dn = "uid=$ldap_uid,$ldap_base";
$mail_ldap_max_hits = 100;
$messenger_save_dir = '/tmp';
//Caldav
$caldav_enable = true;
$caldav_settings = "";
$caldav_base_url = 'https://calendar.example.com/remote.php/dav/calendars/';
$caldav_entries = array (
array ('name' => 'Personal',
'id' => 'personal',
'color' => '#3300ff',
'uuid' => uniqid())
);
// Signature
$siga_marketing = "Marketing bullshit<br>";
$siga_prefix = "Best regards, ";
$siga_url = "<br>URL";
$siga_postfix = "<br>Some spam";
$siga_support_address_domain = 'example.com';
$siga_support_address_prefix = 'info.';
$siga_support_address_postfix = '';
$siga_support_address_default = "$siga_support_address_prefix" . "global" . "$siga_support_address_postfix" . "@" . "$siga_support_address_domain";
$siga_support_address_array = array(
'boston' => 'Boston',
'de' => 'Delaware',
'ny' => 'New York'
);
?>