@@ -66,6 +66,67 @@ $config->custom->session['blowfish'] = '';
6666 environments. */
6767# $config->custom->password['no_random_crypt_salt'] = true;
6868
69+ /*********************************************/
70+ /* Commands */
71+ /*********************************************/
72+
73+ /* Command availability ; if you don't authorize a command the command
74+ links will not be shown and the command action will not be permitted.
75+ For better security, set also ACL in your ldap directory. */
76+
77+ /*
78+ $config->custom->commands['all'] = array(
79+ 'home' => true,
80+ 'external_links' => array('feature' => true,
81+ 'bug' => true,
82+ 'donation' => true,
83+ 'help' => true,
84+ 'credits' => true),
85+ 'purge' => true,
86+ 'schema' => true,
87+ 'import' => false,
88+ 'export' => true,
89+ 'search' => array('simple_search' => true,
90+ 'predefined_search' => false,
91+ 'advanced_search' => false),
92+ 'server_refresh' => false,
93+ 'server_info' => false,
94+ 'entry_refresh' => true,
95+ 'entry_move' => true,
96+ 'entry_internal_attributes_show' => true,
97+ 'entry_delete' => array('simple_delete' => true,
98+ 'mass_delete' => false),
99+ 'entry_rename' => true,
100+ 'entry_compare' => true,
101+ 'entry_create' => true,
102+ 'attribute_add' => true,
103+ 'attribute_add_value' => true,
104+ 'attribute_delete' => true,
105+ 'attribute_delete_value' => true);
106+ */
107+
108+ /*********************************************/
109+ /* Appearance */
110+ /*********************************************/
111+
112+ /* If you want to choose the appearance of the tree, specify a class name which
113+ inherits from the Tree class. */
114+ // $config->custom->appearance['tree'] = "HTMLTree";
115+ # $config->custom->appearance['tree'] = "PLMTree";
116+
117+ /* If you want to customise the entry view/edition, specify your factory name which
118+ inherits from the EntryFactory class.
119+ The 'DefaultEntryFactory' draws all the attributes of an entry according this
120+ config file and the ldap schema definition ; the 'TemplateEntryFactory' draws
121+ an entry according to the template whose regexp matches with the dn. */
122+ # $config->custom->appearance['entry_factory'] = "DefaultEntryFactory";
123+ // $config->custom->appearance['entry_factory'] = "TemplateEntryFactory";
124+
125+ /* If you want to customise an attribute view/edition, specify your factory name which
126+ inherits from the AttributeFactory class.
127+ An AttributeFactory defines which class to use to represent a given attribute */
128+ // $config->custom->appearance['attribute_factory'] = "AttributeFactory";
129+
69130/* Configure what objects are shown in left hand tree */
70131// $config->custom->appearance['tree_filter'] = '(objectclass=*)';
71132
@@ -94,12 +155,14 @@ $ldapservers->SetValue($i,'server','name','My LDAP Server');
94155 auto-detect it for you. */
95156// $ldapservers->SetValue($i,'server','base',array(''));
96157
97- /* Three options for auth_type:
158+ /* Four options for auth_type:
98159 1. 'cookie': you will login via a web form, and a client-side cookie will
99160 store your login dn and password.
100161 2. 'session': same as cookie but your login dn and password are stored on the
101162 web server in a persistent session variable.
102- 3. 'config': specify your login dn and password here in this config file. No
163+ 3. 'http': same as session but your login dn and password are retrieved via
164+ HTTP authentication.
165+ 4. 'config': specify your login dn and password here in this config file. No
103166 login will be required to use phpLDAPadmin for this server.
104167
105168 Choose wisely to protect your authentication information appropriately for
@@ -188,6 +251,14 @@ $ldapservers->SetValue($i,'server','name','My LDAP Server');
188251 users in. See 'login_string' directly below. */
189252// $ldapservers->SetValue($i,'login','attr','dn');
190253
254+ /* If you specified something different from 'dn', for example 'uid', as the
255+ login_attr above, you can optionally specify here to fall back to
256+ authentication with dn.
257+ This is useful, when users should be able to log in with their uid, but
258+ the ldap administrator wants to log in with his root-dn, that does not
259+ necessarily have the uid attribute. */
260+ // $ldapservers->SetValue($i,'login','fallback_dn',false);
261+
191262/* If you specified 'cookie' or 'session' as the auth_type above, and you
192263 specified 'string' for 'login_attr' above, you must provide a string here for
193264 logging users in. If, for example, I have a lot of user entries with DNs like
0 commit comments