From owner-freebsd-ports-bugs@FreeBSD.ORG Fri May 30 00:10:14 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6A5B137B401 for ; Fri, 30 May 2003 00:10:14 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6107643FA3 for ; Fri, 30 May 2003 00:10:13 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h4U7ADUp007324 for ; Fri, 30 May 2003 00:10:13 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h4U7ADwQ007323; Fri, 30 May 2003 00:10:13 -0700 (PDT) Resent-Date: Fri, 30 May 2003 00:10:13 -0700 (PDT) Resent-Message-Id: <200305300710.h4U7ADwQ007323@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Pryanishnikov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D0CDA37B401 for ; Fri, 30 May 2003 00:06:02 -0700 (PDT) Received: from smtp.atlantis.dp.ua (smtp.atlantis.dp.ua [193.108.46.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id 54B2A43F75 for ; Fri, 30 May 2003 00:06:00 -0700 (PDT) (envelope-from dmitry@atlantis.dp.ua) Received: from atlantis.dp.ua (localhost [127.0.0.1]) by smtp.atlantis.dp.ua (8.12.6p2/8.12.6) with ESMTP id h4U75qhM042036 for ; Fri, 30 May 2003 10:05:52 +0300 (EEST) (envelope-from dmitry@atlantis.dp.ua) Received: (from dmitry@localhost) by atlantis.dp.ua (8.12.6p2/8.12.6/Submit) id h4U75pg3042019; Fri, 30 May 2003 10:05:51 +0300 (EEST) (envelope-from dmitry) Message-Id: <200305300705.h4U75pg3042019@atlantis.dp.ua> Date: Fri, 30 May 2003 10:05:51 +0300 (EEST) From: Dmitry Pryanishnikov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/52798: [PATCH] Port imap-uw-2002_1,1 suggests incorrect PAM service name pop3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Dmitry Pryanishnikov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 07:10:14 -0000 >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: