From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Sep 2 18:00:17 2009 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DDAD61065670 for ; Wed, 2 Sep 2009 18:00:16 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B736F8FC13 for ; Wed, 2 Sep 2009 18:00:16 +0000 (UTC) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id n82I0GXC069833 for ; Wed, 2 Sep 2009 18:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n82I0GOR069832; Wed, 2 Sep 2009 18:00:16 GMT (envelope-from gnats) Resent-Date: Wed, 2 Sep 2009 18:00:16 GMT Resent-Message-Id: <200909021800.n82I0GOR069832@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, Ben Schumacher Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 95696106566C for ; Wed, 2 Sep 2009 17:58:23 +0000 (UTC) (envelope-from ben@hiro.blahr.com) Received: from thyme.viawest.net (foot.viawest.net [216.87.64.60]) by mx1.freebsd.org (Postfix) with ESMTP id 669DB8FC1B for ; Wed, 2 Sep 2009 17:58:23 +0000 (UTC) Received: from spring.viawest.net (spring.viawest.net [216.87.85.207]) by thyme.viawest.net (8.12.11.20060308/8.12.11/viawest-2.6) with ESMTP id n82H5oD1022872 for ; Wed, 2 Sep 2009 11:05:50 -0600 Received: from hiro.blahr.com ([216.241.96.51]) by spring.viawest.net (8.12.10/8.12.10/viawest-1.0) with SMTP id n82H5nXN015968 for ; Wed, 2 Sep 2009 11:05:49 -0600 (MDT) Received: (qmail 59739 invoked by uid 1000); 2 Sep 2009 17:05:49 -0000 Message-Id: <20090902170549.59738.qmail@hiro.blahr.com> Date: 2 Sep 2009 17:05:49 -0000 From: Ben Schumacher To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/138483: pam_pwdfile port doesn't work post update to 0.99 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Ben Schumacher List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Sep 2009 18:00:17 -0000 >Number: 138483 >Category: ports >Synopsis: pam_pwdfile port doesn't work post update to 0.99 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Sep 02 18:00:16 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Ben Schumacher >Release: FreeBSD 7.2-RELEASE amd64 >Organization: >Environment: System: FreeBSD lagos.blahr.com 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Mon May 4 12:50:51 MDT 2009 ben@lagos.blahr.com:/usr/obj/data/FreeBSD/RELENG_7_2/src/sys/SMPx2 amd64 >Description: After upgrade of pam_pwdfile to 0.99 it no longer works. Attempting to use it for an authentication mechanism yields the following error in /var/log/messages: pamtester: in openpam_load_module(): no /usr/local/lib/pam_pwdfile.so found My belief is this has to do with pam_pwdfile addition of an md5.h and various friends at version 0.97 (from changelog): * added md5.h, md5.c, md5_crypt.c and bigcrypt.c from the pam_unix.c module. This fixes the bug where crypt() would not be able to do md5 crypting if an SSL library was linked into the calling application. Several users reported this, but the report (and possible patch, which I chose not to use, opting instead to emulate pam_unix) of Yu Guanghui was most useful. The custom Makefile.bsd in 'files' doesn't account for these new source files. >How-To-Repeat: Build and install pam_pwdfile.so 0.99. Configure it to be used with some PAM-based system (from /usr/local/etc/pam.d/vsftpd): # auth auth required pam_nologin.so no_warn auth sufficient /usr/local/lib/pam_pwdfile.so pwdfile /usr/local/etc/vsftpd.passwd auth required pam_unix.so no_warn try_first_pass Attempt to autenticate using service: $ pamtester vsftpd username auth pamtester: Initialization failure >Fix: >Release-Note: >Audit-Trail: >Unformatted: