Profile Data and LDAP

Hi all,

I was wondering if there was some way to populate profile data from LDAP? At the moment all users are using Active Directory to connect, however they have no profile info.

Thanks,

Add this to your conf file under the ldap tags

<vcard-mapping> <![CDATA[<vCard xmlns=’‘vcard-temp’’>

<FN attrs=“displayName”></FN>
<N><FAMILY attrs=“sn”></FAMILY><GIVEN attrs=“givenName”></GIVEN><MIDDLE/></N>
<NICKNAME attrs=“displayName”></NICKNAME>

<TEL><VOICE/><HOME/><NUMBER attrs=“homePhone”></NUMBER></TEL>
<ADR><WORK/><STREET attrs=“streetAddress”></STREET></ADR>

<ADR><WORK/><POBOX attrs=“postOfficeBox”></POBOX></ADR>
<ADR><WORK/><LOCALITY attrs=“l”></LOCALITY></ADR>

<ADR><WORK/><REGION attrs=“st”></REGION></ADR>
<ADR><WORK/><PCODE attrs=“postalCode”></PCODE></ADR>

<ADR><WORK/><CTRY attrs=“co”></CTRY></ADR>
<TEL><VOICE/><WORK/><NUMBER attrs=“telephoneNumber”></NUMBER></TEL>

<TEL><FAX/><WORK/><NUMBER attrs=“facsimileTelephoneNumber”></NUMBER></TEL>
<TEL><CELL/><WORK/><NUMBER attrs=“mobile”></NUMBER></TEL>

<EMAIL><INTERNET/><PREF/><USERID attrs=“mail”></USERID></EMAIL>
<TITLE attrs=“title”></TITLE>

<ROLE attrs=“Rank”></ROLE>
<ORG>
<ORGNAME attrs=“company”></ORGNAME>

<ORGUNIT attrs=“department”></ORGUNIT>
</ORG>
<URL attrs=“wWWHomePage”></URL>

<DESC attrs=“description”></DESC>

</vCard>]]> </vcard-mapping>

and this under the provider tags:

<vcard>

<className>org.jivesoftware.wildfire.ldap.LdapVCardProvider</className >

</vcard>

That should do it