title: ejabberd - LDAP authentication
body: <p>I'm trying to configure an ejabberd installation, using LDAP authentication, but I just can't login, even with the admin user.
  This is part of my ejabberd.cfg file:</p>
  
  <pre><code>%...
  {auth_method, ldap}.
  {ldap_servers, ["server2000.tek2000.local"]}.
  {ldap_port,389}.
  {ldap_uidattr, "uid"}.
  {ldap_base, "dc=server2000,dc=tek2000,dc=com"}.
  {ldap_rootdn, "tempadm@tek2000.local"}.
  {ldap_password, "secret"}.
  %...
  </code></pre>
  
  <p>What am I missing?</p>
  
  <p>I must say that, with OpenFire, I can connect using this credentials/configuration.</p>
  
  <p>I'm using Spark as my client application.</p>
  
  <p>Thanks</p>