[Dovecot] [PATCH] to fix 2 pam issues
Timo Sirainen
tss at iki.fi
Tue Apr 3 06:37:22 EEST 2007
On Mon, 2007-04-02 at 16:42 -0600, Phil Oleson wrote:
> Timo,
>
> I finally made the time to backport a pam fix I created for proftpd over
> to dovecot, that allows FreeBSD's pam_group to work as expected. (the bug was
> escalated to me internally hehe.. ).
I added this to CVS HEAD, but I don't think I'll add it for v1.0. Maybe
for v1.0.1.
> I also noticed an issue while testing that will be confusing to users. If the
> docs stay as is, or the other half of this patch is applied, then when the
> dovecot.conf contains:
>
> passdb pam {
> args = *
> }
>
> the imap files within etc/pam.d right now have to be named 'IMAP' and
> 'POP3' rather than the expected 'imap' and 'pop3'. The attached patch fixes
> the code to match the docs.
Linux PAM actually lowercases them internally, so I hadn't noticed. If I
change this it could break some existing installations.. But I guess
it's better to do it now than have it confusingly work in different
ways. Changed.
-------------- 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/20070403/84113a75/attachment.pgp
More information about the dovecot
mailing list