On Thu, Jun 03, 2010 at 12:01:04PM +0200, Joakim Seeberg wrote:
> Hi, what do I need to change below to make ejabberd authenticate
> against ldap.
> 
> %% 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", "%[email protected]"}]}.
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Is this correct? I guess it should be uid or something??
But I have no idea about ejabberd.


> %%
> %% LDAP filter:
> {ldap_filter, "(objectClass=shadowAccount)"}.

Regards,

        Andi


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/20100603102438.ga11...@flashgordon

Reply via email to