[Dovecot] Using ldap and pam

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Tue Aug 6 16:04:13 EEST 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, 6 Aug 2013, Bo Lynch wrote:

>>>  passdb pam {
>>>  }
>>>  passdb ldap {
>>>    args = /etc/dovecot-ldap.pass
>>>  }

> Is it possible to have 2 auth methods? Meaning if user and passwd does not
> match in pam then go with ldap?

as far as I know, if PAM returns "no such user", the next passdb is tried. 
If PAM returns "password mismatch", it chains to next passdb.

BTW: Dovecot also caches passwords, maybe you are hit by it?

- -- 
Steffen Kaiser
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQEVAwUBUgD0TV3r2wJMiz2NAQJtgggAqyRK7O1kiACDo5LQLw0jTEIoDreRY4mu
rn3air51MP1+JEhVdLyf7hajiC86L3pTdjJcoxPygHhEph1Aj1QHLXgFebFzPsN9
PNdfolRF1uDAl0E2y4A0+Ko6YeSekg9wprRgoDN8eF3NXpBX3GXIsML69wuZQmCm
MkdtK3Go6knfZKNCMJiSCierE0fj7RLwBnmKaC03mZFmNx4dsQGnJGGId03BPnLK
JAI49NKnmAsxXA+NCGW8ohqtjg/lxxYt7hU1INxdo3fp3Mnw64JRFCem8amlzEbz
jqam7BaVYIVmu4JGyPk250HQVYnFnnPRkMHCEfoaHMvUuCy4DZAm7Q==
=eZUc
-----END PGP SIGNATURE-----


More information about the dovecot mailing list