Spark User Display Name

Hi everyone,

I was wondering if anyone can assist me.

Openfire 3.3.0 with AD authentication integration

Spark 2.5.7

My issue is that when I add users to my contact list, it always display their username. Is there anyway I can set it up in Spark or Openfire where I don’t have to change it and it’ll automatically display their Display Name or the Nickname from AD.

Thanks in advanced!

Thanks,

Skippy

Not sure about 3.3.0 but it works like you are wanting with my 3.3.2 installation. It may be a ldap mapping issue, here is the ldap portion of my openfire.xml.

<ldap>

<host>192.168.1.105</host>

<port>389</port>

<baseDN>OU=User Accounts,DC=Domain,DC=local</baseDN>

<adminDN>CN=xxxxxxx,OU=xxxxxxx,OU=xxxxxxxx,DC=Domain,DC=local</adminDN >

<adminPassword>xxxxxxxxx</adminPassword>

<connectionPoolEnabled>true</connectionPoolEnabled>

<sslEnabled>false</sslEnabled>

<ldapDebugEnabled>false</ldapDebugEnabled>

<autoFollowReferrals>false</autoFollowReferrals>

<usernameField>sAMAccountName</usernameField>

<searchFilter>(objectClass=organizationalPerson)</searchFilter>

<vcard-mapping><![CDATA[

<vCard xmlns=“vcard-temp”>

<N>

<GIVEN></GIVEN>

</N>

<EMAIL>

<INTERNET/>

<USERID></USERID>

</EMAIL>

<FN></FN>

<ADR>

<HOME/>

<STREET></STREET>

<PCODE></PCODE>

<CTRY></CTRY>
</ADR> <ADR>
<WORK/> <STREET></STREET> <LOCALITY></LOCALITY> <REGION></REGION> <PCODE></PCODE> <CTRY></CTRY>

</ADR>

<TEL>

<HOME/>

<VOICE/>

<NUMBER></NUMBER>

</TEL>

<TEL>

<HOME/>

<CELL/>

<NUMBER></NUMBER>
</TEL> <TEL>
<WORK/> <VOICE/> <NUMBER></NUMBER>
</TEL> <TEL>
<WORK/> <CELL/> <NUMBER></NUMBER>

</TEL>

<TEL>

<WORK/>

<FAX/>

<NUMBER></NUMBER>

</TEL>

<TEL>

<WORK/>

<PAGER/>

<NUMBER></NUMBER>

</TEL>

<TITLE></TITLE>

<ORG>

<ORGUNIT></ORGUNIT>

</ORG>

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

<nameField>cn</nameField>

<emailField>mail</emailField>

<groupNameField>cn</groupNameField>

<groupMemberField>member</groupMemberField>

<groupDescriptionField>description</groupDescriptionField>

<posixMode>false</posixMode>

<groupSearchFilter>(objectClass=group)</groupSearchFilter>

</ldap>

This is my vcard section info. It fixes some mapping issues the openfire server creates. I altered the section in bold. The rest that bf2007 sent is correct for AD. You can also automatically populate your roster by configuring various settings and/or sharing groups.

<vcard-mapping><![CDATA[

<vCard xmlns=“vcard-temp”>

<N>

  • <N><FAMILY></FAMILY><GIVEN></GIVEN><MIDDLE><MIDDLE/></N>*

  • </N>*

<EMAIL>

<INTERNET/>

<USERID></USERID>

</EMAIL>

<FN></FN>

<ADR>

<HOME/>

<STREET></STREET>

<PCODE></PCODE>

<CTRY></CTRY>
</ADR> <ADR>
<WORK/> <STREET></STREET> <LOCALITY></LOCALITY> <REGION></REGION> <PCODE></PCODE> <CTRY></CTRY>

</ADR>

<TEL>

<HOME/>

<VOICE/>

<NUMBER></NUMBER>

</TEL>

<TEL>

<HOME/>

<CELL/>

<NUMBER></NUMBER>
</TEL> <TEL>
<WORK/> <VOICE/> <NUMBER></NUMBER>
</TEL> <TEL>
<WORK/> <CELL/> <NUMBER></NUMBER>

</TEL>

<TEL>

<WORK/>

<FAX/>

<NUMBER></NUMBER>

</TEL>

<TEL>

<WORK/>

<PAGER/>

<NUMBER></NUMBER>

</TEL>

<TITLE></TITLE>

<ORG>

<ORGNAME></ORGNAME>

<ORGUNIT></ORGUNIT>

</ORG>

<URL></URL>

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

Sounds good. I will give that a try and update. Thanks!

I was able to use Roster in Openfire 3.4.1 to specify a nickname and be displayed on everyone’s Spark.

Thanks for everyone’s help!

Thanks,

Skippy