~ubuntu-branches/debian/jessie/phpldapadmin/jessie

« back to all changes in this revision

Viewing changes to config/config.php.example

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2009-03-16 14:54:15 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20090316145415-7dsvj319dd02h83j
Tags: 1.1.0.6-1
* New upstream release. (Closes: #518578)
* debian/rules: removed "-m 644" from the dh_install call. (Closes: #518847)
* debian/postrm: remove config.php at purge time. (Closes: #519086)
* debian/patches/hungarian.dpatch: fixed a hungarian translation.
  (Closes: #505559)

Show diffs side-by-side

added added

removed removed

Lines of Context:
134
134
   An AttributeFactory defines which class to use to represent a given attribute */
135
135
// $config->custom->appearance['attribute_factory'] = "AttributeFactory";
136
136
 
 
137
/* Just show your custom templates. */
 
138
// $config->custom->appearance['custom_templates_only'] = false;
 
139
 
 
140
/* Disable the default template. */
 
141
// $config->custom->appearance['disable_default_template'] = false;
 
142
 
137
143
/* Configure what objects are shown in left hand tree */
138
144
// $config->custom->appearance['tree_filter'] = '(objectclass=*)';
139
145
 
140
146
/* The height and width of the tree. If these values are not set, then
141
 
   no tree scroll bars are provided.
 
147
   no tree scroll bars are provided. */
142
148
// $config->custom->appearance['tree_height'] = null;
143
149
#  $config->custom->appearance['tree_height'] = 600;
144
150
// $config->custom->appearance['tree_width'] = null;
270
276
   authentication with dn.
271
277
   This is useful, when users should be able to log in with their uid, but
272
278
   the ldap administrator wants to log in with his root-dn, that does not
273
 
   necessarily have the uid attribute. */
 
279
   necessarily have the uid attribute.
 
280
   When using this feature, login_class is ignored. */
274
281
// $ldapservers->SetValue($i,'login','fallback_dn',false);
275
282
 
276
283
/* If you specified 'cookie' or 'session' as the auth_type above, and you
314
321
// $ldapservers->SetValue($i,'auto_number','min','1000');
315
322
 
316
323
/* The DN of the uidPool entry when 'uidpool' mechanism is used above. */
317
 
#  $servers[$i]['auto_uid_number_uid_pool_dn'] = 'cn=uidPool,dc=example,dc=com';
 
324
// $ldapservers->SetValue($i,'auto_number','uidpool_dn','cn=uidPool,dc=example,dc=com');
318
325
 
319
326
/* If you set this, then phpldapadmin will bind to LDAP with this user ID when
320
327
   searching for the uidnumber. The idea is, this user id would have full
364
371
   has children. Certain servers are known to allow it, certain are not */
365
372
// $ldapservers->SetValue($i,'server','branch_rename',false);
366
373
 
 
374
/* If you set this, then phpldapadmin will show these attributes as
 
375
   internal attributes, even if they are not defined in your schema. */
 
376
// $ldapservers->SetValue($i,'server','custom_sys_attrs',array(''));
 
377
#  $ldapservers->SetValue($i,'server','custom_sys_attrs',array('passwordExpirationTime','passwordAllowChangeTime'));
 
378
 
 
379
/* If you set this, then phpldapadmin will show these attributes on
 
380
   objects, even if they are not defined in your schema. */
 
381
// $ldapservers->SetValue($i,'server','custom_attrs',array(''));
 
382
#  $ldapservers->SetValue($i,'server','custom_attrs',array('nsRoleDN','nsRole','nsAccountLock'));
 
383
 
 
384
/* These attributes will be forced to MAY attributes and become option in the
 
385
   templates. If they are not defined in the templates, then they wont appear
 
386
   as per normal template processing. You may want to do this becuase your LDAP
 
387
   server may automatically calculate a default value.
 
388
   In Fedora Directory Server using the DNA Plugin one could ignore uidNumber,
 
389
   gidNumber and sambaSID. */
 
390
// $ldapservers->SetValue($i,'force_may','attrs',array(''));
 
391
#  $ldapservers->SetValue($i,'force_may','attrs',array('uidNumber','gidNumber','sambaSID'));
 
392
 
367
393
/**************************************************************************
368
394
 * If you want to configure additional LDAP servers, do so below.         *
369
395
 * Remove the commented lines and use this section as a template for all  *
494
520
/*********************************************/
495
521
 
496
522
/* Add "modify group members" link to the attribute. */
497
 
// $config->custom->modify_member['groupattr'] = array('member','uniqueMember','memberUid')
 
523
// $config->custom->modify_member['groupattr'] = array('member','uniqueMember','memberUid');
498
524
 
499
525
/* Configure filter for member search. This only applies to "modify group members" feature */
500
526
// $config->custom->modify_member['filter'] = '(objectclass=Person)';