application specific passwords for Cyrus

Blake Hudson <[email protected]>
Newsgroups gmane.mail.imap.cyrus
Message-ID <[email protected]>
Hello, we are using SQL authentication and I'm wondering if anyone has 
implemented application specific passwords with Cyrus and SQL? I've 
tried entering multiple rows in our database and SASL seems to only pick 
the first one (and ignores subsequent SQL records).

Dovecot seems to support multiple SQL entries by using queries that 
include the %w variable:
(variables listed at 
https://doc.dovecot.org/configuration_manual/config_file/config_variables/#config-variables)

driver = mysql
connect = host=localhost
dbname=mail_db
user=dovecot
password=********
default_pass_scheme = PLAIN
password_query = SELECT password, user FROM dovecot_passwords WHERE 
username = '%u' AND password=password('%w')


However, I don't see an equivalent variable available in the Cyrus SASL 
documentation at https://www.cyrusimap.org/sasl/sasl/pwcheck.html

Is there one? Is there any workaround?

Thanks,
--Blake



------------------------------------------
Cyrus: Info
Permalink: https://cyrus.topicbox.com/groups/info/T5c435058f75c0297-Mcdb089b9fc3509857130202f
Delivery options: https://cyrus.topicbox.com/groups/info/subscription
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.