From owner-freebsd-current Sun Mar 31 14:46: 2 2002 Delivered-To: freebsd-current@freebsd.org Received: from gyros.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by hub.freebsd.org (Postfix) with ESMTP id 7D0A037B417 for ; Sun, 31 Mar 2002 14:45:56 -0800 (PST) Received: from gyros.marcuscom.com (localhost [127.0.0.1]) by gyros.marcuscom.com (8.12.2/8.12.2) with ESMTP id g2VMjf6x079260; Sun, 31 Mar 2002 17:45:41 -0500 (EST) (envelope-from marcus@marcuscom.com) Received: (from marcus@localhost) by gyros.marcuscom.com (8.12.2/8.12.2/Submit) id g2VMjeE0079259; Sun, 31 Mar 2002 17:45:40 -0500 (EST) X-Authentication-Warning: gyros.marcuscom.com: marcus set sender to marcus@marcuscom.com using -f Subject: Re: Ports broken by OpenPAM From: Joe Marcus Clarke To: Dag-Erling Smorgrav Cc: Kris Kennaway , current@FreeBSD.ORG In-Reply-To: References: <20020325095032.F47578-100000@shumai.marcuscom.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-NYZbZeDp03Nf/lxhjne+" X-Mailer: Ximian Evolution 1.0.3 Date: 31 Mar 2002 17:45:39 -0500 Message-Id: <1017614739.266.117.camel@gyros.marcuscom.com> Mime-Version: 1.0 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-NYZbZeDp03Nf/lxhjne+ Content-Type: multipart/mixed; boundary="=-qn1F44AkQ6viw60E58EG" --=-qn1F44AkQ6viw60E58EG Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2002-03-25 at 10:00, Dag-Erling Smorgrav wrote: > Joe Clarke writes: > > Really? I never received it. Please send it again. Thanks. >=20 > Here's an updated (but untested) version. >=20 I think I found why pam_ldap wouldn't work with OpenPAM on -CURRENT.=20 Attached is my proposed patch to OpenPAM. With this applied, pam_ldap works like a champ. Joe --=20 PGP Key: http://www.marucscom.com/pgp.asc --=-qn1F44AkQ6viw60E58EG Content-Disposition: attachment; filename=openpam.diff Content-Type: text/plain; name=openpam.diff; charset=ISO8859-1 Content-Transfer-Encoding: quoted-printable Index: lib/pam_set_data.c =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/src/contrib/openpam/lib/pam_set_data.c,v retrieving revision 1.1.1.4 diff -u -r1.1.1.4 pam_set_data.c --- lib/pam_set_data.c 14 Mar 2002 20:42:06 -0000 1.1.1.4 +++ lib/pam_set_data.c 31 Mar 2002 22:43:21 -0000 @@ -77,8 +77,10 @@ free(data); return (PAM_BUF_ERR); } + dp->data =3D data; + dp->cleanup =3D cleanup dp->next =3D pamh->module_data; - pamh->module_data =3D data; + pamh->module_data =3D dp; return (PAM_SUCCESS); } =20 --=-qn1F44AkQ6viw60E58EG-- --=-NYZbZeDp03Nf/lxhjne+ Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEABECAAYFAjynkZMACgkQb2iPiv4Uz4dJkACfaOUew+WBRC/MKtXGA8uU69dl k/0AnRMzftdjK+dZJzczDFvidvicQsKr =AsK5 -----END PGP SIGNATURE----- --=-NYZbZeDp03Nf/lxhjne+-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message