You are not logged in.

#1 2016-02-13 16:41:28

janoliver
Member
Registered: 2011-06-01
Posts: 54

Dovecot with LDAP?

Hi, I am trying to switch my user management to LDAP and need to configure dovecot for that. When including the sample auth-ldap.conf.ext file into its configuration, I am getting the following error:

dovecot[29361]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/auth-ldap.conf.ext line 20: Unknown setting: hosts
dovecot[29361]: doveconf: Error: managesieve-login: dump-capability process returned 89
dovecot[29361]: doveconf: Fatal: Error in configuration file /etc/dovecot/conf.d/auth-ldap.conf.ext line 20: Unknown setting: hosts

This, as quick online research reveals, dovecot was not compiled with LDAP support. It turns out, that the arch package is compiled with "--with-ldap=plugin", and lists libldap as a dependency if one wants to use the ldap plugin.

How can I enable LDAP support in dovecot? I can't find any LDAP related plugin in /usr/lib/dovecot...

Thank you and best regards,
Jan Oliver

Offline

Board footer

Powered by FluxBB