Skip navigation
Currently Being Moderated

vCard Mappings for Active Directory for Openfire 3.6.x and above

VERSION 3  Click to view document history
Created on: Mar 9, 2009 7:57 AM by sixthring - Last Modified:  Sep 2, 2009 9:15 AM by sixthring

The default Active Directory vCard mappings provided during the setup of openfire are incomplete.  Below is the vCard mappings for a business that will provide a nearly complete vCard.  To make changes to the default mappings edit the system property ldap.vcard-mapping.  If you wish to allow avatars for the users of AD LDAP you need to enable/add the system property ldap.override.avatar and set it to true.

 

 

<vCard xmlns="vcard-temp"><N><FAMILY>{sn}</FAMILY><GIVEN>{givenName}</GIVEN></N><EMAIL><INTERNET/><USERID>{mail}</USERID></EMAIL><FN>{displayName}</FN><NICKNAME>{displayName}</NICKNAME><PHOTO><TYPE>image/jpeg</TYPE><BINVAL>{jpegPhoto}</BINVAL></PHOTO><ADR><HOME/><STREET>{homePostalAddress}</STREET></ADR><ADR><WORK/><STREET>{postOfficeBox}</STREET><LOCALITY>{l}</LOCALITY><REGION>{st}</REGION><PCODE>{postalCode}</PCODE><CTRY>{c}</CTRY></ADR><TEL><HOME/><VOICE/><NUMBER>{homePhone}</NUMBER></TEL><TEL><WORK/><VOICE/><NUMBER>{telephoneNumber}</NUMBER></TEL><TEL><WORK/><CELL/><NUMBER>{mobile}</NUMBER></TEL><TEL><WORK/><PAGER/><NUMBER>{pager}</NUMBER></TEL><TEL><WORK/><FAX/><NUMBER>{facsimileTelephoneNumber}</NUMBER></TEL><TITLE>{title}</TITLE><URL>{wWWHomePage}</URL><ORG><ORGNAME>{company}</ORGNAME><ORGUNIT>{department}</ORGUNIT></ORG></vCard>
Comments (5)