powered by Jive Software

Nickname not shown in contact lists, only in group chat

Setting up Openfire 3.6.4 on GNU/Linux with LDAP Active Directory vcards was easy to do. Configuration for Kerberos single sign-on was a bit more complicated but now works after reading some hints on the discussion forum. Publishing shared contact lists (rosters) from LDAP to clients also works.

There is just one annoyance:

In every XMPP-Client I used (Adium, iChat, Spark, Pidgin, Miranda) no nicknames are shown on the contact lists in the shared LDAP rosters. Only login names and JIDs are visible. When selecting “view user details” on the client, the nickname is shown correctly like ever other attribute.

On the user area in the openfire web configuration every user entry looks like this, with “Name: Not set.”. Every other attributes are filled from LDAP. Maybe there is a connection with the first time the list was populated as every user showns up with the same registration date?

Username: testuser

Status: offline

Is Administrator: no

Name: Not set.

Email: testuser@domain.net

Registered: Aug 15, 2009

Groups: testgroup1, testgroup2, testgroup3

Some server properties:

ldap.nameField: givenname sn

ldap.override.avatar: true

ldap.usernameField: samaccountname


{givenname} {sn} {mail} {givenname} {sn} {givenname} {sn} {company} {department}

provider.auth.className: org.jivesoftware.openfire.ldap.LdapAuthProvider

provider.group.className: org.jivesoftware.openfire.ldap.LdapGroupProvider

provider.user.className: org.jivesoftware.openfire.ldap.LdapUserProvider

provider.vcard.className: org.jivesoftware.openfire.ldap.LdapVCardProvider

Workaround for possible bug in openfire found as openfire does not like multiple ldap attributes in property “ldap.namefield”!

When setting ldap.nameField to “givenname sn” it fails with Name: “Not set.”.

When setting ldap.nameField to “displayName” the name is shown as requested.