From nobody@FreeBSD.org  Fri Oct 28 18:22:17 2005
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B87F816A41F
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Oct 2005 18:22:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [216.136.204.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8763043D46
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Oct 2005 18:22:17 +0000 (GMT)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9SIMHjc071659
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 28 Oct 2005 18:22:17 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id j9SIMHPM071658;
	Fri, 28 Oct 2005 18:22:17 GMT
	(envelope-from nobody)
Message-Id: <200510281822.j9SIMHPM071658@www.freebsd.org>
Date: Fri, 28 Oct 2005 18:22:17 GMT
From: Dave Howland <dave@checkernet.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: PAM does not search /usr/local/lib for modules
X-Send-Pr-Version: www-2.3

>Number:         88150
>Category:       kern
>Synopsis:       [pam] PAM does not search /usr/local/lib for modules
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    des
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 28 18:30:17 GMT 2005
>Closed-Date:    
>Last-Modified:  Mon Jan 14 05:09:12 UTC 2008
>Originator:     Dave Howland
>Release:        6.0-RC1
>Organization:
Checkerboard, Ltd.
>Environment:
FreeBSD anthill.checkernet.com 6.0-RC1 FreeBSD 6.0-RC1 #2: Fri Oct 21 12:06:54 EDT 2005     dant@anthill.checkernet.com:/usr/src/sys/i386/compile/ANTHILL  i386
>Description:
PAM doesn't seem to be looking in /usr/local/lib for authentication modules.
IIRC this was included in the search path in 5.x. In specific, I'm trying
to use pam_winbind.so, which is installed by net/samba3 into /usr/local/lib.
>How-To-Repeat:
Build net/samba3 with ADS support. Configure and join to an ADS domain.
Update /etc/pam.d/sshd to use pam_winbind.so. Attempt to ssh into system.
SSH session fails with:

Oct 28 12:17:30 anthill sshd[3194]: fatal: PAM: initialisation failed
Oct 28 12:19:36 anthill sshd[3291]: in openpam_load_module(): no pam_winbind.so found

>Fix:
I've linked pam_winbind.so into /usr/lib as a temporary stopgap measure.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->des 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Fri Oct 28 21:14:56 GMT 2005 
Responsible-Changed-Why:  
Over to our PAM expert to determine if the problem is really in the 
base system or not. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=88150 

From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
To: Dave Howland <dave@checkernet.com>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: misc/88150: PAM does not search /usr/local/lib for modules
Date: Sat, 5 Nov 2005 22:22:54 +0100

 You can use full path to PAM modules in your /etc/pam.d/ files.
 
 -- 
 Pawel Jakub Dawidek                       http://www.wheel.pl
 pjd@FreeBSD.org                           http://www.FreeBSD.org
 FreeBSD committer                         Am I Evil? Yes, I Am!
 
>Unformatted:
