Patrick Ben Koetter
2008-Mar-09 19:41 UTC
[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 at 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
Timo Sirainen
2008-Mar-10 03:35 UTC
[Dovecot] Setting individual SSL/TLS settings with OpenLDAP
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) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20080310/8685ca47/attachment-0002.bin>
Patrick Ben Koetter
2008-Mar-10 21:53 UTC
[Dovecot] Setting individual SSL/TLS settings with OpenLDAP
* Timo Sirainen <dovecot at 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 at 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