Hi guys.
I have a openfire server (3.8.1) integrated with AD. My fields was configured like that:
ldap.searchFields = Username/cn,Name/displayName,Email/mail
searchFields = <searchFields>Usuário/name,Nome/displayName,Email/mail</searchFields>
ldap.usernameField = sAMAccountName
And, my vCard is like this:
<vCard xmlns="vcard-temp"><N><FAMILY>{sn}</FAMILY><GIVEN>{givenName}</GIVEN></N><EMAIL ><INTERNET/><USERID>{mail}</USERID></EMAIL><FN>{displayName}</FN><NICKNAME>{disp layName}</NICKNAME><PHOTO><TYPE>image/jpeg</TYPE><BINVAL>{jpegPhoto}</BINVAL></P HOTO><ADR><HOME/><STREET>{homePostalAddress}</STREET></ADR><ADR><WORK/><STREET>{ postOfficeBox}</STREET><LOCALITY>{l}</LOCALITY><REGION>{st}</REGION><PCODE>{post alCode}</PCODE><CTRY>{c}</CTRY></ADR><TEL><HOME/><VOICE/><NUMBER>{homePhone}</NU MBER></TEL><TEL><WORK/><VOICE/><NUMBER>{telephoneNumber}</NUMBER></TEL><TEL><WOR K/><CELL/><NUMBER>{mobile}</NUMBER></TEL><TEL><WORK/><PAGER/><NUMBER>{pager}</NU MBER></TEL><TEL><WORK/><FAX/><NUMBER>{facsimileTelephoneNumber}</NUMBER></TEL><T ITLE>{title}</TITLE><URL>{wWWHomePage}</URL><ORG><ORGNAME>{company}</ORGNAME><OR GUNIT>{department}</ORGUNIT></ORG></vCard>
In our environment, USERNAME, is a unique employee number (a Single Signon number), NAME is the {displayName} like this:
{displayName} = John Smith
cn or name or sAMAccountName = 27123
When I do a search in Spark, I get this (like sc1.png). But, when I try to add this user, the "nickname" field in Spark give me the unique employee number and NOT the name (like sc2.png). And the Full Profile is all correct showing nickname like {displayName} (sc3.png).
How to fix this? What I need to do to resolve this problem?
Regards,
MS