Am Mittwoch, 22. Oktober 2003 02:22 schrieb Tom Allison:
Can you configure authentication to go through a database, like postgres or mysql?
Yes of course. One thing is pam_mysql, another the auxprop-plugin "mysql" for sasl. But for the second one, you have to recompile Cyrus-SASL. For default it isn't shipped with suse's cyrus-sasl Package.
I've got this lanky process of cyrus-imap --> saslauth --> pam --> who knows where (/etc/passwd).
A way without recompile: cyrus-imap -> sasl -> saslauthd -> pam -> pam_mysql (But only with Plaintext-Mechs PLAIN, LOGIN) With recompile: cyrus-imap -> sasl -> mysql (With almost all Mechs)
But since I don't have $HOME for these imap accounts I would rather not mess with /etc/passwd if I can help it.
Suggestions on what's an alternative that can be readily managed?
Another "Databse" which works out-of-the-box is sasldb of couse. -- Andreas