ejabberd - Comments for "LDAP auth with email that is not in hosts" https://www.ejabberd.im/node/4082 en Re: LDAP auth with email that is not in hosts https://www.ejabberd.im/node/4082#comment-55836 <p>You should create as much virtual hosts as you have your domains. Then you should define ldap_uids in every virtual host configuration as follows:</p> <div class="codeblock"><code>{ldap_uids, [{&quot;uid&quot;, &quot;%u@virtualhost.org&quot;}]}.</code></div> <p>BTW, %d is not allowed in ldap_uids option.</p> Tue, 01 Jun 2010 03:56:56 +0000 zinid comment 55836 at https://www.ejabberd.im