Multiple passwords for a user (SQL)

Marco Fretz marco.fretz at gmail.com
Mon Oct 6 14:46:21 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
 
Thank you Steffen,

This sounds like a plan. checkpassword looks quite simple to use and I
could still use default userdb with dovecot-sql for userhome, quota, etc.
I'll give this a try.

thanks
Marco

Am 06.10.2014 13:52, schrieb Steffen Kaiser:
> 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 v2.0.22 (MingW32)
 
iQIcBAEBAgAGBQJUMqs9AAoJEKxm7Ju3UATuwIcP/jOLvioR1EsJCkhsHMG2GgoV
bvafQznk8KOhTcTW0X3CrPRoV7D7Lmotw+2W3Z/YFR9w48ra/Tlf25PRGg7tv+KE
Wx5xTFKZDzoXgW3Nn7Jg0ylBvgYTQQRFEZWBbwn+N/7hMfHagw0H66iaMqw3LV6A
d6BnxjHI+Iq1w7EPPpplsMeqLMxSEbv1t7YrqC5n/ydnllRe7j4WFbkMYywAYxR5
WN8SfhuhvxFec3nSOftCVbVvVSFsAPN/n2OYxgVl5LvgLUdI9NUyqpxA/Rj2KVhb
+V+/NB/TKEpIBe1Byeb1W8cLeijmgDWXiEQQhG8+3ld21cabqEyQvrRN93FJzHBx
n71NTpNul98bZW4BPh4U2uzJMdDzbo8aD5WMJFwczrLwDj/CNhU2W2gh14F4AyhG
W9eNRXn9ntdJ2hxhlCb8csLMf9rHd/XgzZkfGEzyvJKPRDONdD7HslP3gFAKo0du
xoGe6fw3FJuGg16KkRFWE/dE25fk2y34iliqS1G3j4owMlj79pLV1JsDDI5A1heV
f3JNUfMhb1b5lGAI31YoqG5/Ls/0bkMUT6p+BU2ZezYFAUSA2M3EwpsaJkwyu7Ov
YTbAG7JOzp7dp/bk6R1PGg11qc9yDHBS4Rm4J+rdLFZ3ibImZ/+0Meb1pRbKLGwV
iRaVYK07ag276MQqoLg3
=krqF
-----END PGP SIGNATURE-----



More information about the dovecot mailing list