-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfig.php
71 lines (58 loc) · 2.06 KB
/
config.php
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
67
68
69
70
71
<?php
/** NOTE **
** Make sure that <?php is the FIRST line of this file!
** IE: There should NOT be any blank lines or spaces BEFORE <?php
**/
/**
* The phpLDAPadmin config file
* See: http://phpldapadmin.sourceforge.net/wiki/index.php/Config.php
*/
/* The temporary storage directory where we will put jpegPhoto data
This directory must be readable and writable by your web server. */
$config->custom->jpeg['tmpdir'] = '/var/tmp';
/* phpLDAPadmin can encrypt the content of sensitive cookies if you set this
to a big random string. */
/*
* Autogenerated value will be automatically added by phpldapadmin/container-start.sh
*/
$config->custom->session['blowfish'] = '';
/*********************************************
* Appearance *
*********************************************/
/* Hide the warnings for invalid objectClasses/attributes in templates. */
$config->custom->appearance['hide_template_warning'] = true;
$config->custom->appearance['remoteurls'] = false;
/*********************************************
* User-friendly attribute translation *
*********************************************/
/* Use this array to map attribute names to user friendly names. For example, if
you don't want to see "facsimileTelephoneNumber" but rather "Fax". */
// $config->custom->appearance['friendly_attrs'] = array();
$config->custom->appearance['friendly_attrs'] = array(
'facsimileTelephoneNumber' => 'Fax',
'gid' => 'Group',
'mail' => 'Email',
'telephoneNumber' => 'Telephone',
'uid' => 'User Name',
'userPassword' => 'Password'
);
$config->custom->appearance['attr_display_order'] = array(
'sn',
'cn',
'givenName',
'displayName',
'mobile',
'uid',
'uidNumber',
'gidNumber',
'homeDirectory',
'mail',
'userPassword'
);
/*********************************************
* Define your LDAP servers in this section *
*********************************************/
$servers = new Datastore();
/*
* Autogenerated servers will come here
*/