Nathan Huesken
2009-Jan-30 13:50 UTC
[Dovecot] Using dovecot sasl for authenticating in openldap
Hi, I am using dovecot imaps and exim, both authenticating using dovecot-sasl. To keep passwords in one place I would like to authenticate openldap users over dovecot-sasl. So looking at this page: http://www.openldap.org/doc/admin24/security.html I figure it could be done using Pass-Through authentication. For this, I need to create /usr/lib/sasl2/slapd.conf And adding a few config paremeters. This is a example mech_list: plain pwcheck_method: saslauthd saslauthd_path: /var/run/sasl2/mux I understand the mech_list parameter, but I have no Idea what to put in for the rest. Any help? Thanks! Nathan
Timo Sirainen
2009-Feb-02 18:18 UTC
[Dovecot] Using dovecot sasl for authenticating in openldap
On Fri, 2009-01-30 at 14:50 +0100, Nathan Huesken wrote:> Hi, > > I am using dovecot imaps and exim, both authenticating using dovecot-sasl. To keep passwords in one place I would like > to authenticate openldap users over dovecot-sasl.OK..> So looking at this page: > http://www.openldap.org/doc/admin24/security.html > I figure it could be done using Pass-Through authentication. > > For this, I need to create > /usr/lib/sasl2/slapd.confNow you're talking about using Cyrus SASL, not Dovecot SASL. Dovecot doesn't use such a file. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090202/01397ee5/attachment-0002.bin>
Nathan Huesken
2009-Feb-02 22:29 UTC
[Dovecot] Using dovecot sasl for authenticating in openldap
Well, I have to admit, I do not know what I am saying. I wanted to authenticate in openldap using dovecot-sasl. The only useable thing I could find was this document describing pass-through authentication. And it talked about the /usr/lib/sasl2/slapd.conf. It belongs to cyrus sasl? Mmh ... Does anyboday know if and how openldap authentication using dovecot is possible? Thanks! Nathan On Mon, Feb 02, 2009 at 01:18:17PM -0500, Timo Sirainen wrote:> On Fri, 2009-01-30 at 14:50 +0100, Nathan Huesken wrote: > > Hi, > > > > I am using dovecot imaps and exim, both authenticating using dovecot-sasl. To keep passwords in one place I would like > > to authenticate openldap users over dovecot-sasl. > > OK.. > > > So looking at this page: > > http://www.openldap.org/doc/admin24/security.html > > I figure it could be done using Pass-Through authentication. > > > > For this, I need to create > > /usr/lib/sasl2/slapd.conf > > Now you're talking about using Cyrus SASL, not Dovecot SASL. Dovecot > doesn't use such a file. >