ejabberd - Comments for "mod_vcard_ldap doesn&amp;#039;t work" https://www.ejabberd.im/node/24837 en Hi,mremond, Thanks! I didn't https://www.ejabberd.im/node/24837#comment-65422 <p>Hi,mremond,<br /> Thanks!<br /> I didn't found hint from ejabberd.log, but after I changed "ldap_uids" setting in ldap auth config, this issue is gone.</p> <p>I was confused with the "ldap_uids" config in the documentation:<br /> <a href="https://docs.ejabberd.im/admin/guide/configuration/" title="https://docs.ejabberd.im/admin/guide/configuration/">https://docs.ejabberd.im/admin/guide/configuration/</a></p> <p>Here is the settings in my old config format (not .yml format).<br /> <code>{ldap_uids, [{&quot;sAMAccountName&quot;}]},</code></p> <p>I was using this settings in my new .yml config file when I was posting this issue:</p> <div class="codeblock"><code>ldap_uids:<br />&nbsp; - &quot;sAMAccountName&quot;</code></div> <p>with the setting, ldap auth did work fine, but as I said "mod_vcard_ldap" failed to work, then I changed settings to below:</p> <div class="codeblock"><code>ldap_uids:<br />&nbsp; &quot;sAMAccountName&quot;: &quot;%u&quot;</code></div> <p>Now both ldap_auth and mod_vcard_ldap work fine.<br /> I am not sue if this is exactly the root cause, but at least in my box it seems this settings change did the trick.</p> Sun, 05 Apr 2015 03:07:19 +0000 yanqian comment 65422 at https://www.ejabberd.im You should look into ejabberd https://www.ejabberd.im/node/24837#comment-65419 <p>You should look into ejabberd log files to look for errors.</p> Fri, 03 Apr 2015 14:40:02 +0000 mremond comment 65419 at https://www.ejabberd.im