ejabberd - Comments for "LDAP authentication error" https://www.ejabberd.im/node/3838 en uid@example.net should work https://www.ejabberd.im/node/3838#comment-55198 <div class="quote-msg"> <div class="quote-author">Quote:</div> <p>And the test user has a uid in the directory, do I use a username like "uid@example.net"?</p></div> <p>Right. If that doesn't work, sniff the traffic (using a program like Ethereal/Wireshark, or tcpflow) between ejabberd and the LDAP server, maybe this gives you some idea where is the problem.</p> Tue, 26 Jan 2010 09:25:52 +0000 mfoss comment 55198 at https://www.ejabberd.im I think I've got that https://www.ejabberd.im/node/3838#comment-55197 <p>I think I've got that configured now...</p> <div class="codeblock"><code>{ldap_encrypt, none}.<br />{ldap_port, 389}.</code></div> <p>When I tail /var/log/ejabberd/ejabberd.log, I repeated connections to the LDAP server, about once a second. And they look like successful connections. My issue now is logging in with an actual user account in my Jabber client. I guess I also don't understand what username I use to login from the client. Do the Jabber "hostnames" in the config file still apply, since Jabber is now taking over authentication?</p> <p>If I have hostnames in config like this:</p> <div class="codeblock"><code>{hosts, [&quot;example.net&quot;]}.</code></div> <p>And the test user has a uid in the directory, do I use a username like "uid@example.net"?</p> <p>I'm trying that in Adium, and it seems to be seeing the server, but repeatedly asking for a password... I see nothing in the ejabberd log that looks suspicious...</p> Tue, 26 Jan 2010 02:04:38 +0000 colemanm comment 55197 at https://www.ejabberd.im Add: {ldap_encrypt, none}. https://www.ejabberd.im/node/3838#comment-55192 <p>Sometime in the past you had this option:</p> <pre> {ldap_encrypt, tls}. </pre><p>Later you removed it from the config file, but it is remembered in the ejabberd internal database.</p> <p>Better say explicitly you don't want to use encryption:</p> <pre> {ldap_encrypt, none}. </pre> Fri, 22 Jan 2010 12:25:26 +0000 mfoss comment 55192 at https://www.ejabberd.im