ejabberd - Comments for "Ejabberd not connecting to ldap server" https://www.ejabberd.im/node/3310 en Re: Ejabberd not connecting to ldap server https://www.ejabberd.im/node/3310#comment-53853 <p>Increase the debug level and look into the logs.</p> <div class="codeblock"><code>{loglevel, 5}.</code></div> Wed, 17 Dec 2008 17:31:54 +0000 zinid comment 53853 at https://www.ejabberd.im My rootdn: {ldap_rootdn, https://www.ejabberd.im/node/3310#comment-53834 <p>My rootdn:<br /> {ldap_rootdn, "Jabber"}.<br /> MyUIDS (for Active Directory):<br /> {ldap_uids, [{"sAMAccountName", "%u"}]}.</p> Mon, 15 Dec 2008 11:32:49 +0000 fox comment 53834 at https://www.ejabberd.im I have done mistake in https://www.ejabberd.im/node/3310#comment-53829 <p>I have done mistake in {ldap_port} while writing post. In config file I have {ldap_port, 389}.</p> Sun, 14 Dec 2008 15:30:45 +0000 Novakov comment 53829 at https://www.ejabberd.im Try to change {ldap_rootdn, https://www.ejabberd.im/node/3310#comment-53828 <p>Try to change<br /> {ldap_rootdn, "cn=admin, dc=domain"}.<br /> to<br /> {ldap_rootdn, "admin"}.</p> <p>{ldap_uids, "uid"}. is mistakable if you use Active Directory. I'll tell you tomorrow what you should write here.</p> <p>LDAPS patch has bug. You should restart your ejabberd at least one time per day.</p> <p>What is it? It's wrong!<br /> {ldap_posrt, 389}. %or 636 for LDAPS</p> <p>You should write:<br /> {ldap_port, 389}. %or 636 for LDAPS</p> Sun, 14 Dec 2008 15:26:59 +0000 fox comment 53828 at https://www.ejabberd.im {auth_method, https://www.ejabberd.im/node/3310#comment-53827 <p>{auth_method, ldap}.</p> <p>{ldap_servers, ["ip.ip.ip.ip"]}.<br /> %%{ldap_encrypt, tls}.<br /> {ldap_posrt, 389}. %or 636 for LDAPS<br /> {ldap_uids, "uid"}.<br /> {ldap_base, "dc=domain"}.<br /> {ldap_rootdn, "cn=admin, dc=domain"}.<br /> {ldap_password, "password"}.</p> Sun, 14 Dec 2008 14:39:31 +0000 Novakov comment 53827 at https://www.ejabberd.im How do you write you https://www.ejabberd.im/node/3310#comment-53826 <p>How do you write you credentials?</p> Sun, 14 Dec 2008 10:31:55 +0000 fox comment 53826 at https://www.ejabberd.im