[Dovecot] User mapping via pam

Timo Sirainen tss at iki.fi
Wed Jun 27 23:22:24 EEST 2007


On Wed, 2007-06-27 at 13:53 -0400, Flannery, Andrew wrote:
> I'm trying to change the PAM_USER within a pam module, and observed that
> dovecot 0.99 does not support this. I then looked at 1.x and found:
..
>         /* FIXME: this doesn't actually work since we're in the child
> 
>            process.. */
..
> however it appeared to me that the auth process was passing this
> username to the parent in its response.
..
> Also, is this behavior dependant on me setting blocking=yes for
> "passdb
> pam" in dovecot.conf? (for this test It was set)

Yes. It works only with blocking=yes. I hadn't thought about that
before. Updated http://wiki.dovecot.org/PasswordDatabase/PAM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20070627/e294dc92/attachment.bin 


More information about the dovecot mailing list