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. 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. I have also attached a sample openfire.xml file for openfire 3.5.x and below.
<![CDATA[
{sn}
{givenName}
{mail}
{displayName}
{displayName}
image/jpeg
{jpegPhoto}
{homePostalAddress}
{postOfficeBox}
{l}
{st}
{postalCode}
{c}
{homePhone}
{telephoneNumber}
{mobile}
{pager}
{facsimileTelephoneNumber}