Changeset 4341 in subversion for branches/devel-addressbook/config/main.inc.php.dist
- Timestamp:
- Dec 15, 2010 4:57:18 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/devel-addressbook/config/main.inc.php.dist
r4317 r4341 449 449 'search_base_dn' => '', 450 450 'search_filter' => '', // e.g. '(&(objectClass=posixAccount)(uid=%u))' 451 452 451 'writable' => false, // Indicates if we can write to the LDAP directory or not. 453 452 // If writable is true then these fields need to be populated: … … 458 457 'ldap_version' => 3, // using LDAPv3 459 458 'search_fields' => array('mail', 'cn'), // fields to search in 460 'name_field' => 'cn', // this field represents the contact's name 461 'email_field' => 'mail', // this field represents the contact's e-mail 462 'surname_field' => 'sn', // this field represents the contact's last name 463 'firstname_field' => 'gn', // this field represents the contact's first name 459 'fieldmap' => array( // mapping of contact fields to directory attributes 460 // roundcube => ldap 461 'name' => 'cn', 462 'surname' => 'sn', 463 'firstname' => 'givenName', 464 'phone' => 'telephoneNumber', 465 'email' => 'mail', 466 'street' => 'street', 467 'zipcode' => 'postalCode', 468 'locality' => 'l', 469 'country' => 'c', 470 'organization' => 'o', 471 ), 464 472 'sort' => 'cn', // The field to sort the listing by. 465 473 'scope' => 'sub', // search mode: sub|base|list
Note: See TracChangeset
for help on using the changeset viewer.
