Ben Beuchler
2005-Aug-04 20:25 UTC
[Dovecot] How is the correct "auth" method selected in 1.0-stable?
In the example config for 1.0-stable, I see several "auth <blah> {}" blocks. The only one uncommented is the "auth default{}" block. How does dovecot decide which one to use? If I want it to use LDAP, should I just modify the "userdb" and "passdb" entries in the "auth default" block? Or should I be using the "auth ldap" block and somehow telling dovecot to use it? Thanks! -Ben
Timo Sirainen
2005-Aug-07 15:22 UTC
[Dovecot] How is the correct "auth" method selected in 1.0-stable?
On Thu, 2005-08-04 at 15:25 -0500, Ben Beuchler wrote:> In the example config for 1.0-stable, I see several "auth <blah> {}" > blocks. The only one uncommented is the "auth default{}" block. How > does dovecot decide which one to use? If I want it to use LDAP, > should I just modify the "userdb" and "passdb" entries in the "auth > default" block? Or should I be using the "auth ldap" block and > somehow telling dovecot to use it?Just modify userdb/passdb entries. If you define multiple auth blocks, Dovecot tries all of them in more-or-less random order and use the first one that works. With 1.0-tests things have changed and there really shouldn't ever be more than one auth block. -------------- 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/20050807/ded8435c/attachment.bin>