From owner-freebsd-ports@FreeBSD.ORG Mon Jun 27 19:26:34 2005 Return-Path: X-Original-To: freebsd-ports@FreeBSD.org Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FA1E16A41C; Mon, 27 Jun 2005 19:26:34 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (xbsd.org [82.233.2.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F82E43D1D; Mon, 27 Jun 2005 19:26:34 +0000 (GMT) (envelope-from flz@FreeBSD.org) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id A929A11CB0; Mon, 27 Jun 2005 21:34:17 +0200 (CEST) Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 72544-10; Mon, 27 Jun 2005 21:34:10 +0200 (CEST) Received: from cream.xbsd.org (cream.xbsd.org [192.168.42.6]) by smtp.xbsd.org (Postfix) with ESMTP id 5CD7E11C8E; Mon, 27 Jun 2005 21:34:10 +0200 (CEST) From: Florent Thoumie To: Jeremie Le Hen In-Reply-To: <20050627191205.GT1283@obiwan.tataz.chchile.org> References: <20050626211011.GH1283@obiwan.tataz.chchile.org> <86d5q8113a.fsf@xps.des.no> <20050627130449.GQ1283@obiwan.tataz.chchile.org> <42C0026C.3040000@FreeBSD.org> <20050627191205.GT1283@obiwan.tataz.chchile.org> Content-Type: text/plain; charset=iso8859-15 Date: Mon, 27 Jun 2005 21:26:56 +0200 Message-Id: <1119900416.27663.15.camel@cream.xbsd.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.2 FreeBSD GNOME Team Port Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at xbsd.org Cc: Dag-Erling =?ISO-8859-1?Q?Sm=F8rgrav?= , freebsd-current@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: OpenPAM Figwort broke PAM modules from ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Jun 2005 19:26:34 -0000 Le Lundi 27 juin 2005 à 21:12 +0200, Jeremie Le Hen a écrit : > Hi Florent :), > > > > With all respect I owe you you, the last upgrade of my -CURRENT box > > > constrained me to use the following patch to make pam_alreadyloggedin.so > > > work again : > > > > FWIW, I always needed to put full pathname for pam_ldap to use > > it. > > If you didn't upgraded to a too recent -CURRENT yet (ie. you still have > OpenPAM Feterita release), you should try removing the full path if > pam_ldap.so is located in /usr/local/lib/. If your -CURRENT is too > recent, please, try to patch src/contrib/openpam/lib/openpam_dynamic.c > with the quick hack I posted earlier. Recompile it and install it > from src/lib/libpam/libpam/ and then remove the full path of > pam_ldap in /etc/pam.d/login. Try to log from a text console (this > doesn't need to reboot). You should see either an error message stating > that pam_ldap.so couldn't be found or a successful login attempt in > /var/log/auth.log. > > I would be glad if you were able to bring your testimony : I would > really like to see a note in src/UPDATING for this, since FreeBSD 6 > is going to be out in less than 2 months, and not informing users > about this behaviour change would break PITA, IMO. Well, I just tried again without full path and it seems to just work on this RELENG_5 box. I guess an UPDATING entry wouldn't hurt if we just recommend people to check if they're using absolute paths or not. Just my 2 cents. -- Florent Thoumie flz@FreeBSD.org