[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
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.
participants (2)
-
Ben Beuchler
-
Timo Sirainen