[Dovecot] Setting individual SSL/TLS settings with OpenLDAP
I am using OpenLDAP to read Dovecot User settings and want to use TLS for user_attrs and pass_attrs queries.
So I set "tls = yes" and it kept failing until I told the OpenLDAP ldap client in /etc/ldap/ldap.conf where the CA certificate can be found.
So far so good. Now just in case... could I tell dovecot to read the OpenLDAP client settings from a non default configuration file e.g. /etc/dovecot/ldaprc.
I know Cyrus SASL can do this with the ldapdb plugin and I'd be interested if this is possible with Dovecot too.
TIA,
p@rick
-- state of mind Agentur für Kommunikation, Design und Softwareentwicklung
Patrick Koetter Tel: 089 45227227 Echinger Strasse 3 Fax: 089 45227226 85386 Eching Web: http://www.state-of-mind.de
Amtsgericht München Partnerschaftsregister PR 563
On Sun, 2008-03-09 at 20:41 +0100, Patrick Ben Koetter wrote:
I am using OpenLDAP to read Dovecot User settings and want to use TLS for user_attrs and pass_attrs queries.
So I set "tls = yes" and it kept failing until I told the OpenLDAP ldap client in /etc/ldap/ldap.conf where the CA certificate can be found.
So far so good. Now just in case... could I tell dovecot to read the OpenLDAP client settings from a non default configuration file e.g. /etc/dovecot/ldaprc.
I know Cyrus SASL can do this with the ldapdb plugin and I'd be interested if this is possible with Dovecot too.
Could you try if this works: http://hg.dovecot.org/dovecot-1.1/rev/8a4ecf4c2ca1
(needs also http://hg.dovecot.org/dovecot-1.1/rev/a61102ad418f to apply cleanly)
- Timo Sirainen <dovecot@dovecot.org>:
So far so good. Now just in case... could I tell dovecot to read the OpenLDAP client settings from a non default configuration file e.g. /etc/dovecot/ldaprc.
I know Cyrus SASL can do this with the ldapdb plugin and I'd be interested if this is possible with Dovecot too.
Could you try if this works: http://hg.dovecot.org/dovecot-1.1/rev/8a4ecf4c2ca1
(needs also http://hg.dovecot.org/dovecot-1.1/rev/a61102ad418f to apply cleanly)
I am sorry, I can't try at the moment. I'll be busy the next 3 days. If someone else wants to, please go ahead.
p@rick
-- state of mind Agentur für Kommunikation, Design und Softwareentwicklung
Patrick Koetter Tel: 089 45227227 Echinger Strasse 3 Fax: 089 45227226 85386 Eching Web: http://www.state-of-mind.de
Amtsgericht München Partnerschaftsregister PR 563
participants (2)
-
Patrick Ben Koetter
-
Timo Sirainen