Custom search fields

Hi

I’ve a problem in configuring custom search fields for openfire+spark+ldap.

I installed search plugin(1.4.4) for openfire, and configured search_i18n_ko_KR.properties as follows

advance.user.search.username=Username

advance.user.search.name=Name

advance.user.search.mail=Email

advance.user.search.department=Deptartment

Like this, I’m trying to add department field to search field.

So, in vcard-mapping the following is inserted.

{department}

Also, searchFields is set as follows.

ldap.searchFields = 'Name/sn,Email/mail,Department/department

In addition, ldap.departmentField = ‘department’

However, department field of the search result is empty as seen in the attached image.

What am I doing wrong?

Plz, help me