[ejabberd] LDAP Problems...

Karsten Jahn KarstensListen at gmx.de
Wed Mar 16 16:56:17 MSK 2005


Hi there!

I do have seroius problems connecting to LDAP. Everytime I try, I get an 
error (Unauthorized). EJabberD shows this:
   =INFO REPORT==== 16-Mar-2005::14:46:50 ===
   I(<0.258.0>:ejabberd_listener:89): (#Port<0.363>) Accepted connection
   {{10,32,5,22},2720} -> {{10,32,5,18},5222}
   AUTH:
   {"karsten.jahn",[],"f253f0fa6a1cc58084c1a89eb45682fde7084001","Work"}

   =INFO REPORT==== 16-Mar-2005::14:46:50 ===
   I(<0.315.0>:ejabberd_c2s:322): (#Port<0.363>) Failed legacy
   authentification for karsten.jahn at foo.de/Work

My ejabberd.cfg looks like this:
   % For LDAP authentification use these lines instead of above one:
   {auth_method, ldap}.
   {ldap_servers, ["server.foo.de"]}.    % List of LDAP servers
   {ldap_uidattr, "CN"}.        % LDAP attribute that holds user ID
   {ldap_base, "dc=foo,dc=de"}. % Base of LDAP directory

   % Host name:
   {host, "foo.de"}.

What may be wrong?
Thanks for every little hint.
Karsten


More information about the ejabberd mailing list