Jonathan Siegle
2011-Apr-29 14:55 UTC
[Dovecot] [dovecot] Question about master user and PAM with dovecot 2.0.12
Is it possible to allow master users to be authenticated against PAM? Something like: passdb { driver = pam #args = /etc/dovecot/passwd.masterusers master = yes #pass = yes } and then have a userdb which qualifies what accounts are master accounts but doesn't have passwords? Thanks, Jonathan -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 5937 bytes Desc: not available URL: <http://dovecot.org/pipermail/dovecot/attachments/20110429/3b8f5ef1/attachment-0002.bin>
Timo Sirainen
2011-Apr-29 15:16 UTC
[Dovecot] [dovecot] Question about master user and PAM with dovecot 2.0.12
On Fri, 2011-04-29 at 10:55 -0400, Jonathan Siegle wrote:> Is it possible to allow master users to be authenticated against PAM? Something like: > > passdb { > driver = pam > master = yes > }If PAM authentication succeeds, the user is a master user with this config.> and then have a userdb which qualifies what accounts are master accounts but doesn't have passwords?Do you mean you would want both master and non-master users be authenticated from a single PAM passdb? That won't work, you need separate passdbs. You could probably configure two different PAM services and use them both..