Date: Fri, 30 May 2003 10:05:51 +0300 (EEST) From: Dmitry Pryanishnikov <dmitry@atlantis.dp.ua> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/52798: [PATCH] Port imap-uw-2002_1,1 suggests incorrect PAM service name pop3 Message-ID: <200305300705.h4U75pg3042019@atlantis.dp.ua> Resent-Message-ID: <200305300710.h4U7ADwQ007323@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 52798 >Category: ports >Synopsis: [PATCH] Port imap-uw-2002_1,1 suggests incorrect PAM service name pop3 >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: doc-bug >Submitter-Id: current-users >Arrival-Date: Fri May 30 00:10:12 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Dmitry Pryanishnikov >Release: FreeBSD 4.8-RELEASE i386 >Organization: Atlantis ISP >Environment: System: FreeBSD main.mcom.dp.ua 4.8-RELEASE >Description: During the transition from imap-uw-2001a to imap-uw-2002 PAM authentication in ipop3d has stopped to work (with the same lines in /etc/pam.conf). After inspection of the sources and debugging I've found the problem: PAM service name for ipop3d has changed from "pop3" to "pop". This change hasn't yet reflected in pkg-message file (rev 1.7) as it show be. >How-To-Repeat: Upgrade from imap-uw-2001a to imap-uw-2002 in configuration which uses PAM, check authentication in ipop3d. >Fix: Apply the following patch in /usr/ports/mail/imap-uw: --- pkg-message.old Mon Dec 23 05:27:48 2002 +++ pkg-message Fri May 30 10:01:59 2003 @@ -12,9 +12,9 @@ imap auth required pam_unix.so imap account required pam_unix.so try_first_pass imap session required pam_deny.so -pop3 auth required pam_unix.so -pop3 account required pam_unix.so try_first_pass -pop3 session required pam_deny.so +pop auth required pam_unix.so +pop account required pam_unix.so try_first_pass +pop session required pam_deny.so The pam_unix module does not have session support, so we do not use it for session management. Be sure to read up on pam.conf(5). >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305300705.h4U75pg3042019>