[ejabberd] Difficulties configuring ejabberd

Mário Gamito mgamito at telbit.pt
Tue Apr 17 15:25:59 MSD 2007


Hi,

I'm trying to install an ejabberd server with ldap authentication.

My configuration is as follows:

% For LDAP authentication use these lines instead of above one:
{auth_method, ldap}.
{ldap_servers, ["mail.telbit.pt"]}.    % List of LDAP servers
{ldap_uidattr, "uid"}.            % LDAP attribute that holds user ID
{ldap_base, "ou=users,dc=telbit,dc=pt"}. % Search base of LDAP directory
{ldap_rootdn, "cn=admin,dc=telbit,dc=pt"}. % LDAP manager
{ldap_password, "secret"}. % Password to LDAP manager

ejabberd and ldap are in the same server.

When i try to connect to the server with GAIM, it says it couldn't 
connect to the server.

I have some doubts:

1) What exactly is supposed to be in the ldap_uidattr field ?

2) Is there a .schema file for ldap ? What fields does it use to 
authenticate ?

3) Is it possible to authenticate agains qmail-ldap uid and password 
fields ?

Any help would be appreciated.

Warm Regards,
-- 
:wq! Mário Gamito


More information about the ejabberd mailing list