ejabberd - Comments for "LDAP curiosity" https://www.ejabberd.im/node/908 en Hi thanks Both LDAP and https://www.ejabberd.im/node/908#comment-59408 <p>Hi</p> <p>thanks<br /> Both LDAP and Internal Auth working</p> Thu, 31 Jan 2013 07:45:00 +0000 Krishna_vernalis comment 59408 at https://www.ejabberd.im Re: LDAP curiosity https://www.ejabberd.im/node/908#comment-1959 <div class="quote-msg"> <div class="quote-author"><em>stainsby</em> wrote:</div> <p>1. Is it possible to have internal authentication and LDAP authentication at the same time. My initial attempts failed to get htis to work.</p></div> <p>When only one method is specified the syntax is:</p> <pre>{auth_method, internal}.</pre><p> The ejabberd guide shows a different syntax on <noindex><a href="http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#htoc22" rel="nofollow" >3.1.8 SASL anonymous and anonymous login</a></noindex>:</p> <pre>{auth_method, [anonymous, internal]}.</pre><p> Call me optimistic, but with some luck maybe this works:</p> <pre>{auth_method, [internal, ldap]}.</pre><p>If you try it, please post a comment with the results.</p> Thu, 29 Jun 2006 21:28:55 +0000 mfoss comment 1959 at https://www.ejabberd.im Turns out I had another https://www.ejabberd.im/node/908#comment-1953 <p>Turns out I had another jabber server (jabberd2) running that was also using LDAP, and that was what was causing the confusion. DOH! But thanks for adding to my knowledge of the config file.</p> <p>Which leaves the other question about multiple authentication sources eg. internal + LDAP .. is that possible?</p> Thu, 29 Jun 2006 04:43:26 +0000 stainsby comment 1953 at https://www.ejabberd.im This is likely due to the https://www.ejabberd.im/node/908#comment-1919 <p>This is likely due to the fact that ejabberd stores its config settings in an internal database, and changes you make to the config file are only added. That is, when you first run ejabberd, it takes the config file information in ejabberd.cfg and populates a database with the information. If you later change the config file by adding new information, the new information is added but the old is not really removed.</p> <p>What you likely want to do is add the following lines to the top of your config file:</p> <p>override_global.<br /> override_local.<br /> override_acls.</p> <p>This will effectively override what's in the config database and use the data from the config file only. See the following for details:</p> <p><noindex><a href="http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#htoc13" title="http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#htoc13" rel="nofollow" >http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#htoc13</a></noindex></p> Mon, 26 Jun 2006 15:03:00 +0000 fseesink comment 1919 at https://www.ejabberd.im