[ejabberd] Interesting VCard Issue

Adam Hubscher webmaster at x-zen.cx
Tue Aug 26 06:43:05 MSD 2008


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,
>
> Adam
> _______________________________________________
> ejabberd mailing list
> ejabberd at jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd



More information about the ejabberd mailing list