ejabberd - Comments for "Multiple LDAP sources" https://www.ejabberd.im/node/533 en It seems to be supported https://www.ejabberd.im/node/533#comment-1169 <p>Looking at the example configuration script, it seems ejabberd supports several LDAP servers for the same Jabber domain:</p> <pre>{auth_method, ldap}. {ldap_servers, ["localhost", "otherhost"]}. % List of LDAP servers {ldap_uidattr, "uid"}. % LDAP attribute that holds user ID {ldap_base, "dc=example,dc=com"}. % Search base of LDAP directory {ldap_rootdn, "dc=example,dc=com"}. % LDAP manager {ldap_password, "******"}. % Password to LDAP manager</pre> Sun, 18 Dec 2005 21:48:23 +0000 mfoss comment 1169 at https://www.ejabberd.im Re: Thanks for the quick reply https://www.ejabberd.im/node/533#comment-1149 <div class="quote-msg"> <div class="quote-author"><em>kconger</em> wrote:</div> <p>Would this allow me to use the same Jabber name space, ie. user@sunyocc.edu?</p></div> <p>Ops, sorry: when I said 'obvious solution', I didn't mean a solution to your problem, since two different virtual host can't serve the same domain.</p> <p>I don't know any way to serve the same domain with two different LDAP servers at the same time.</p> Mon, 12 Dec 2005 22:51:28 +0000 mfoss comment 1149 at https://www.ejabberd.im Thanks for the quick reply https://www.ejabberd.im/node/533#comment-1147 <p>Would this allow me to use the same Jabber name space, ie. <noindex><a href="mailto:user@sunyocc.edu" rel="nofollow" >user@sunyocc.edu</a></noindex>?</p> <p>Thanks Again,<br /> Keith</p> Mon, 12 Dec 2005 15:20:28 +0000 kconger comment 1147 at https://www.ejabberd.im I think you can't. https://www.ejabberd.im/node/533#comment-1146 <p>I think you can't.</p> <p>You can specify a LDAP source for every virtual host, but only one. So the obvious solution is to have two virtual hosts: server1.example.com with LDAP1 and server2.example.com with LDAP2.</p> Mon, 12 Dec 2005 08:33:45 +0000 mfoss comment 1146 at https://www.ejabberd.im