Little bug (adding users to contact list)

We have Openfire installation with LDAP users (Win2003 AD). For jabber users we use this fields:

<vCard xmlns=“vcard-temp”>

<N>

<GIVEN></GIVEN>

</N>

<FN></FN> <NICKNAME></NICKNAME>

<PHOTO>

<TYPE>image/jpeg</TYPE>

<BINVAL></BINVAL>

</PHOTO>

</vCard>]]>

When I adding user to my contact list through upper left button with username then contact have name as displayname from AD (First name and Last name).

When I adding user through results of search then contact have name as AD login. Why ?

The search plugin’s add contact ability does not seem to query LDAP for the information. It is creating the contact based on search result. You will notice it is popluating the nickname field with the username of the individual. The remedy this you need only delete whatever is in the nickname field prior to saving the contact. If the nickname is field is blank it will trigger an LDAP lookup for that information.

mtstravel wrote:

The remedy this you need only delete whatever is in the nickname field prior to saving the contact. If the nickname is field is blank it will trigger an LDAP lookup for that information.

Yes, I know about this solution. But say that it is not bug but feature to 1000 users not so easy…

There is all fields in search results, fullname too. Maybe small fix for adding fullname to nick when user press Add contact ?

Not say it is not a bug. It definitely is. The other option you have is setup a shared group with all users as a member. Then the users would have a roster that is prepoulated with the users of the server.

mtstravel wrote:

Not say it is not a bug. It definitely is. The other option you have is setup a shared group with all users as a member. Then the users would have a roster that is prepoulated with the users of the server.

If it is a bug, can you open an issue and fix it ?

Shared group with 1000 users is not good solution.

http://www.igniterealtime.org/issues/browse/SPARK-1021

http://www.igniterealtime.org/issues/browse/JM-1397

Just to cover the bases, I opened an issue under spark and openfire.

thanks