Multiple passwords for a user (SQL)

Steffen Kaiser skdovecot at smail.inf.fh-brs.de
Mon Oct 6 11:52:07 UTC 2014


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

On Mon, 6 Oct 2014, Marco Fretz wrote:

> corresponding user in the users table - one use has many passwords (1:n).
> for dovecot this means that it will get multiple rows with passwords
> back from the "password_query". is there a way to tell dovecot to check
> all those returned passwords and "pass" the request if one of those
> passwords match?

I think no, but you could craft a PAM module and use the pam passdb or 
supply a checkpassword script:

http://wiki2.dovecot.org/PasswordDatabase

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

iQEVAwUBVDKCaHz1H7kL/d9rAQLIAgf/do+D2ZVWBOaAbFB9Vv6SyYQ3mdzI19B7
hGZw3NlVpd1XAtSzb6r2zNardtH0Z/q2LvP71WjSFt5LQL4mye/N1LPsz0n8CoCf
0Vzhudo/WVUZts3W30cr6bfVnjJwfoXbhNjCKjK+evY5C6bt+q5YTGbNkCmgAMGC
2Lc0aFVkA12beSWydtjfUf3tkqXTXr8bJIoaCIuPd9YneZZX+p5b0n99MrToQwC8
WfVwogG6FEXiV7FbAcG+kMzYSB9+gIuMyFPqIr5HNVaGcjkF4PySuDHGMBbyQ8yw
9xPpR/xJ6kf6lnl76db0RJTGua42Szvv9tTu1RE4gDXWq8MepwkoNQ==
=24Co
-----END PGP SIGNATURE-----


More information about the dovecot mailing list