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"]}.
{ldap_uidattr, "mgamito"}.
{ldap_base, "ou=users,dc=telbit,dc=pt"}.
{ldap_rootdn, "cn=*****,dc=telbit,dc=pt"}.
{ldap_password, "secret"}.
My slapd.conf is:
suffix "dc=telbit,dc=pt"
rootdn "cn=*****,dc=telbit,dc=pt"
rootpw secret
ejabberd and ldap are in the same server (mail.telbit.pt).
When i try to connect to the server with GAIM, it says it can'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) What is the LDAP field for the password ?
4) Is it possible to authenticate against qmail-ldap uid and password
fields ?
5) What types of encryption does ejabberd supports for passwords ?
6) The login should be only "mgamito" or "mgamito@mail.telbit.pt" ?
Any help would be appreciated.
Warm Regards,
Mário Gamito