ejabberd - Comments for "User full name in roster" https://www.ejabberd.im/node/1398 en SOLUTION: 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, &quot;OU=users,OU=BOTM,DC=botm,DC=local&quot;},<br /> {ldap_vcard_map,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [<br /> &nbsp;&nbsp; %%{&quot;NICKNAME&quot;, &quot;%u&quot;, []},<br /> &nbsp;&nbsp; {&quot;NICKNAME&quot;, &quot;%s&quot;, [&quot;displayName&quot;]}, %% &lt;------------------- HERE<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&quot;GIVEN&quot;, &quot;%s&quot;, [&quot;givenName&quot;]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&quot;FAMILY&quot;, &quot;%s&quot;, [&quot;sn&quot;]},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&quot;FN&quot;, &quot;%s&quot;, [&quot;displayName&quot;]},<br /> {&quot;EMAIL&quot;, &quot;%s&quot;, [&quot;mail&quot;]}<br /> ]},<br />&nbsp;&nbsp;&nbsp; {ldap_search_fields,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [{&quot;User&quot;, &quot;%u&quot;},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&quot;Name&quot;, &quot;givenName&quot;},<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {&quot;Family Name&quot;, &quot;sn&quot;},<br /> {&quot;Email&quot;, &quot;mail&quot;}<br /> ]},<br />&nbsp;&nbsp;&nbsp; {ldap_search_reported, [<br /> {&quot;Full Name&quot;, &quot;FN&quot;},<br /> {&quot;Email&quot;, &quot;EMAIL&quot;}<br /> ]}<br />&nbsp;&nbsp;&nbsp; ]},</code></div> Thu, 05 Jun 2008 12:45:44 +0000 GhostInMachine comment 53259 at https://www.ejabberd.im Same 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 +0000 vetetix comment 53254 at https://www.ejabberd.im