3 * Configures fieldname - LDAP attribute associations
5 * If you use other attributes you may change the assignments here.
6 * Note the arrays need to remain flippable, eg. both sides have to
9 * Fields starting with a * may contain multiple values (needs to be
10 * handled by the template as well)
15 * The object classes to store with contacts
17 $OCLASSES[] = 'inetOrgPerson';
20 * The standard fields suported by OpenLDAP's default schemas
23 'dn' => 'dn', // don't touch!
25 'displayname' => 'cn',
26 'givenname' => 'givenName',
28 'organization' => 'o', // aka. company
29 'office' => 'physicalDeliveryOfficeName',
30 'street' => 'postalAddress',
31 'zip' => 'postalCode',
32 'location' => 'l', // aka. city
33 'phone' => 'telephoneNumber',
34 'fax' => 'facsimileTelephoneNumber',
35 'mobile' => 'mobile', // aka. cell phone
37 'homephone' => 'homePhone',
38 'homestreet' => 'homePostalAddress',
39 'photo' => 'jpegPhoto',
40 'url' => 'labeledURI',
41 'note' => 'description',
42 'manager' => 'manager', // aka. key account
47 * If the provided "extended" schema is used the following fields
48 * and object classes are added
50 $OCLASSES[] = 'contactPerson';
51 $FIELDS['anniversary'] = 'anniversary';
52 $FIELDS['_marker'] = 'marker'; // aka. tags
55 * If the open exchange schema is used the following fields
56 * and object classes are added
58 /* comment in if you want to use it
59 $OCLASSES[] = 'OXUserObject';
60 $FIELDS['country'] = 'userCountry';
61 $FIELDS['birthday'] = 'birthDay';
62 $FIELDS['ipphone'] = 'IPPhone';
63 $FIELDS['_marker'] = 'OXUserCategories';
64 $FIELDS['instantmessenger'] = 'OXUserInstantMessenger';
65 $FIELDS['timezone'] = 'OXTimeZone';
66 $FIELDS['position'] = 'OXUserPosition';
67 $FIELDS['certificate'] = 'relClientCert';
68 $FIELDS['domain'] = 'domain';
72 * If the Evolution schema is used the following fields
73 * and object classes are added
75 /* comment in if you want to use it
76 $OCLASSES[] = 'evolutionPerson';
77 $OCLASSES[] = 'officePerson';
78 $FIELDS['department'] = 'ou';
79 $FIELDS['state'] = 'st';
80 $FIELDS['country'] = 'c';
81 $FIELDS['phone'] = 'primaryPhone';
82 $FIELDS['switchboard'] = 'companyPhone';
83 $FIELDS['note'] = 'note';
84 $FIELDS['manager'] = 'seeAlso';
85 $FIELDS['birthday'] = 'birthDate';
86 $FIELDS['spouse'] = 'spouseName';
93 $RFIELDS = array_flip($FIELDS);