Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2010 10:11:58 GMT
From:      Hartmann@FreeBSD.org, "O." <ohartman@mail.zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/148816: printing/cups-base: pam.d/cups getting wrong module while installation
Message-ID:  <201007211011.o6LABwa3014383@www.freebsd.org>
Resent-Message-ID: <201007211020.o6LAK1GL047393@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         148816
>Category:       ports
>Synopsis:       printing/cups-base: pam.d/cups getting wrong module while installation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 21 10:20:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Hartmann, O.
>Release:        FreeBSD 8.1-STABLE/FreeBSD 9.0-CURRENT
>Organization:
FU Berlin
>Environment:
>Description:
While printing/cups-base is installed and PAM is enabled, /usr/local/etc/pam.d/cups is fed with the wrong module (pam_unknown.so instead of pam_unix.so) for auth and account.
>How-To-Repeat:
Install printing/cups-base
>Fix:
change /usr/local/etc/pam.d/cups towards usage of the right module in FreeBSD.

auth    required        pam_unix.so nodelay
account required        pam_unix.so


Add configure-option

--with-pam_module="pam_unix.so" 

to top-level Makefile of the port

Patch attached with submission follows:

--- Makefile.orig	2010-07-21 12:01:09.000000000 +0200
+++ Makefile	2010-07-21 12:01:55.000000000 +0200
@@ -37,7 +37,8 @@
 			--with-icondir=${PREFIX}/share/icons	\
 			--with-menudir=${DESKTOPDIR}		\
 			--with-domainsocket=${CUPS_SOCKET}	\
-			--enable-ssl
+			--enable-ssl				\
+			--with-pam-module="pam_unix.so"
 
 OPTIONS?=	GNUTLS		"Build with GNUTLS library" on \
 		PHP		"Build PHP support" off \


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007211011.o6LABwa3014383>