ejabberd - Comments for "User full name in roster"
https://www.ejabberd.im/node/1398
enSOLUTION: map displayName to
https://www.ejabberd.im/node/1398#comment-53259
<p>SOLUTION: map displayName to NICKNAME in mod_vcard_ldap<br />
Example:</p>
<div class="codeblock"><code>{mod_vcard_ldap, [<br /> {ldap_base, "OU=users,OU=BOTM,DC=botm,DC=local"},<br /> {ldap_vcard_map,<br /> [<br /> %%{"NICKNAME", "%u", []},<br /> {"NICKNAME", "%s", ["displayName"]}, %% <------------------- HERE<br /> {"GIVEN", "%s", ["givenName"]},<br /> {"FAMILY", "%s", ["sn"]},<br /> {"FN", "%s", ["displayName"]},<br /> {"EMAIL", "%s", ["mail"]}<br /> ]},<br /> {ldap_search_fields,<br /> [{"User", "%u"},<br /> {"Name", "givenName"},<br /> {"Family Name", "sn"},<br /> {"Email", "mail"}<br /> ]},<br /> {ldap_search_reported, [<br /> {"Full Name", "FN"},<br /> {"Email", "EMAIL"}<br /> ]}<br /> ]},</code></div>
Thu, 05 Jun 2008 12:45:44 +0000GhostInMachinecomment 53259 at https://www.ejabberd.imSame problem for me
https://www.ejabberd.im/node/1398#comment-53254
<p>I'm also using mod_vcard_ldap, and by default users are displayed in rosters with the user part of their jid (the uid). Is it possible to configure the module to be able to display another field by default?</p>
Wed, 04 Jun 2008 05:56:29 +0000vetetixcomment 53254 at https://www.ejabberd.im