[ejabberd] Interesting VCard Issue

Evgeniy Khramtsov xramtsov at gmail.com
Tue Aug 26 07:53:12 MSD 2008


Adam Hubscher wrote:

> Anyone? =/
>
> On Aug 20, 2008, at 9:05 PM, Adam Hubscher wrote:
>
>> Hey Guys,
>>
>> Here is my mod_vcard_ldap setup;
>>
>> {mod_vcard_ldap,
>>        [
>>                {ldap_uids, [{"uid","%u"}]},
>>                {ldap_vcard_map,
>>                [
>>                        {"NICKNAME", "%s", ["displayName"]},
>>                        {"GIVEN", "%s", ["givenName"]},
>>                        {"MIDDLE", "%s", ["initials"]},
>>                        {"FAMILY", "%s", ["sn"]},
>>                        {"FN", "%s", ["displayName"]},
>>                        {"EMAIL", "%s", ["mail"]}
>>                ]},
>>
>>                {ldap_search_fields,
>>                [
>>                        {"User", "uid"},
>>                        {"Name", "displayName"},
>>                        {"Family Name", "sn"},
>>                        {"Email", "mail"},
>>                        {"Company", "company"},
>>                        {"Department", "department"},
>>                        {"Role", "title"},
>>                        {"Description", "description"},
>>                        {"Phone", "telephoneNumber"}]},
>>
>>                {ldap_search_reported,
>>                [
>>                        {"Full Name", "FN"},
>>                        {"Nickname", "NICKNAME"},
>>                        {"Email", "EMAIL"}
>>                ]}
>>
>> ]},
>>
>>
>> Now....
>>
>> Here is the interesting thing.
>>
>> With Adium, this works. Everything works. The vcard populates fine.
>>
>> On at least 4 different clients - Psi, Gaim, iChat, and Spark (I  
>> haven't tested others), the functionality is different.
>>
>> The user is displayed with their user name in ldap (uid), NOT the  
>> nickname or full name as we would prefer. In other words...
>>
>> first.last
>>
>> instead of
>>
>> First Last
>>
>> Adium displays it as
>>
>> First Last
>>
>> Any ideas?
>>
>> Thanks,
>
Actually I didn't understand your question.

-- 
Regards,
Evgeniy Khramtsov, ProcessOne.
xmpp:xram at jabber.ru.



More information about the ejabberd mailing list