Appendix A, .conf Parameters 87
template
Description Maps specific object classes to internal gateway templates. These templates
define how a specific object class such as a person, a group, or an
organizational unit is displayed in the gateway. The templatename identified
has a corresponding HTML template stored in dsgw/conf/.
Format template <templatename> <objectclass>
Example The following example identifies orgperson as the template defining attributes
for person and inetorgperson object classes:
template orgperson person inetorgperson
vcard-property
Description The Directory Server gateway allows users to view vCards for person and NT
person directory entries. The vCard and LDAP specifications define different
labels to access information: vCards use properties and LDAP uses attributes.
Therefore, there must be a way to map the vCard property names to the LDAP
attribute names so that the Directory Server can locate the information for the
vCard display. The vcard-property parameter accomplishes this vCard property
to LDAP attribute mapping.
Format vcard-property <vcardprop> <syntax> <ldapattr> [<ldapattr2>...]
<vcardprop>. The name of a vCard property. The following vCard properties
are mapped to LDAP attributes:
• FN—The Formatted Name property. All vCards must have a FN property.
By default, FN is mapped to the cn attribute.
• N—The Name property. By default, N is mapped to the sn and givenName
attributes.
• ORG—The ORG property may refer to the organizational name and units of
the person or resource associated with the vCard. By default, ORG is
mapped to the o and ou attributes.
• ROLE—The ROLE property may refer to the role, occupation or business
category of the person or resource described by the vCard. By default,
ROLE is mapped to the businessCategory attribute.