[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

ejabberd and ldap



Hi, what do I need to change below to make ejabberd authenticate against ldap.

Regards
 joakim


%% Authentication using LDAP
%%
{auth_method, ldap}.
%%
%% List of LDAP servers:
{ldap_servers, ["tjener.intern"]}.
%%
%% Encryption of connection to LDAP servers (LDAPS):
{ldap_encrypt, tls}.
%%
%% Port connect to LDAP server:
{ldap_port, 636}.
%%
%% LDAP manager:
{ldap_rootdn, "cn=admin,ou=People,dc=skole,dc=skolelinux,dc=no"}.
%%
%% Password to LDAP manager:
{ldap_password, "*****"}.
%%
%% Search base of LDAP directory:
{ldap_base, "dc=skole,dc=skolelinux,dc=no"}.
%%
%% LDAP attribute that holds user ID:
{ldap_uids, [{"mail", "%u@tjener.intern"}]}.
%%
%% LDAP filter:
{ldap_filter, "(objectClass=shadowAccount)"}.


Reply to: