Customize Nickname with shared roster

Hi,

I'm try to setup a shared roster for twenty+ users, problem is that
the default contact nickname, while readable, isn't what i want (fullname of users).

I'm already using a ldap server to authenticate, so i tried to setup mod_vcard_ldap
to give the fullname of the user as a nickname

{mod_vcard_ldap,[
{ldap_vcard_map, [
{"NICKNAME", "%s", ["cn"]},
{"FN", "%s", ["displayName"]},
{"LAST", "%s", ["sn"]},
{"FIRST", "%s", ["givenName"]},
{"MIDDLE", "%s", ["initials"]},
{"ORGNAME", "%s", ["o"]},
{"ORGUNIT", "%s", ["ou"]},
{"CTRY", "%s", ["c"]},
{"LOCALITY", "%s", ["l"]},
{"STREET", "%s", ["street"]},
{"REGION", "%s", ["st"]},
{"PCODE", "%s", ["postalCode"]},
{"TITLE", "%s", ["title"]},
{"URL", "%s", ["labeleduri"]},
{"DESC", "%s", ["description"]},
{"TEL", "%s", ["telephoneNumber"]},
{"EMAIL", "%s", ["mail"]},
% {"BDAY", "%s", ["birthDay"]},
{"ROLE", "%s", ["employeeType"]}
%, {"PHOTO", "%s", ["jpegPhoto"]}
]}
]}

This works for pidgin for example, but not directly. Ie if you right click on a contact and select "Informations" the
nickname is displayed in the box, and the contact list is automaticaly updated accordingly.
But this is not very 'userfriendly' and doesn't work with every client (gossip for example, pandion in scheduled test).

Is there a way ?

pandion

Well, pandion does the same thing that pidgin does (fetching data from vcard)
but it everything is stored on the personnal user roster after that.

Which will lead to troubles :(

And neither pandion nor pidgin does support a server without mod_roster....
While pidgin does, and now he fetch the nickname on startup ....

I'll have to deal with that :(

Syndicate content