From owner-freebsd-ports@FreeBSD.ORG Sat Jul 25 20:34:21 2009 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76C97106566C for ; Sat, 25 Jul 2009 20:34:21 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from creme-brulee.marcuscom.com (marcuscom-pt.tunnel.tserv1.fmt.ipv6.he.net [IPv6:2001:470:1f00:ffff::1279]) by mx1.freebsd.org (Postfix) with ESMTP id 10B4C8FC0A for ; Sat, 25 Jul 2009 20:34:20 +0000 (UTC) (envelope-from marcus@FreeBSD.org) Received: from [IPv6:2001:470:1f00:2464::4] (shumai.marcuscom.com [IPv6:2001:470:1f00:2464::4]) by creme-brulee.marcuscom.com (8.14.3/8.14.3) with ESMTP id n6PKbRDJ014913; Sat, 25 Jul 2009 16:37:27 -0400 (EDT) (envelope-from marcus@FreeBSD.org) From: Joe Marcus Clarke To: Andrea Venturoli In-Reply-To: <4A6B38BE.2050405@netfence.it> References: <4A6B38BE.2050405@netfence.it> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-U/E/m88AIkxZbEH0Pk5L" Organization: FreeBSD, Inc. Date: Sat, 25 Jul 2009 16:34:25 -0400 Message-Id: <1248554065.44222.17.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,NO_RELAYS autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on creme-brulee.marcuscom.com Cc: freebsd-ports@FreeBSD.org Subject: Re: netatalk 2.0.4 breaks PAM? 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: Sat, 25 Jul 2009 20:34:21 -0000 --=-U/E/m88AIkxZbEH0Pk5L Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2009-07-25 at 18:54 +0200, Andrea Venturoli wrote: > Hello. > I'm using afpd on a 6.3/i386 and I make it authenticate to pam_smb. > Everything was fine with 2.0.3. >=20 > As soon as I upgraded to 2.0.4, I started getting: >=20 > Jul 13 09:28:38 xxxxx afpd[89271]: dhx login: yyyyyyy > Jul 13 09:28:38 xxxxx afpd[89271]: in openpam_load_module(): no > /usr/local/lib/pam_smb_auth.so found > Jul 13 09:28:38 xxxxx afpd[89271]: uams_dhx_pam.c :PAM: PAM_Error: > system error > Jul 13 09:28:38 xxxxx afpd[89271]: 0.18KB read, 0.12KB written >=20 > I swear /usr/local/lib/pam_smb_auth.so is there and working, since many > other packages are using it the same way. This error means there was a problem loading the module. This most likely means a symbol could not be resolved. If you rebuild OpenPAM with -DOPENPAM_DEBUG, you will get more diagnostics as to exactly why this is failing to load. To do that, add -DOPENPAM_DEBUG to the CFLAGS in /usr/src/lib/libpam/libpam/Makefile. Joe >=20 > Since this is a production environment, I had to downgrade to 2.0.3 as > fast as possible; everything worked fine again since then. >=20 >=20 > Not sure if this is a FreeBSD port's specific problem, but I thought I'd > start here. >=20 >=20 > bye & Thanks > av. >=20 >=20 >=20 --=20 Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome --=-U/E/m88AIkxZbEH0Pk5L Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (FreeBSD) iEYEABECAAYFAkprbFAACgkQb2iPiv4Uz4cx8ACeLWy7Gjmx+yIsuY8kj7lMm5q9 dvMAoIgdlxyDGBMpTgCD03ykmCe0H/FC =ygKc -----END PGP SIGNATURE----- --=-U/E/m88AIkxZbEH0Pk5L--