Date: 16 Apr 2002 13:49:55 +1000 From: Benno Rice <benno@FreeBSD.org> To: Daniel Eischen <eischen@pcnet1.pcnet.com> Cc: current@FreeBSD.org Subject: Re: PAM broke? Message-ID: <1018929002.422.7.camel@ratchet.jeamland.net> In-Reply-To: <Pine.GSO.4.10.10204152341430.1592-100000@pcnet1.pcnet.com> References: <Pine.GSO.4.10.10204152341430.1592-100000@pcnet1.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--=-RcFO0AODSs04g0Ti+Cq0
Content-Type: multipart/mixed; boundary="=-9k0bqDkq6XL7qGgV92Lo"
--=-9k0bqDkq6XL7qGgV92Lo
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Tue, 2002-04-16 at 13:43, Daniel Eischen wrote:
> On 16 Apr 2002, Benno Rice wrote:
> > On Tue, 2002-04-16 at 10:07, Dan Eischen wrote:
> > > Fresh cvsup and buildworld from today's -current seems to have
> > > broken pam logins for telnet and ssh. Fresh mergemaster too.
> >=20
> > [snip]
> >=20
> > > Any clues?
> >=20
> > Remove -DYP from the CFLAGS in /usr/lib/libpam/modules/pam_unix/Makefil=
e
> > and rebuild/reinstall libpam.
>=20
> Thanks, that did the trick.
>=20
> Anyone know if this is the correct fix? It shouldn't be left
> broken.
I think des's commit that removed the _use_yp variable from
usr.sbin/vipw/pw_util.c fixed it. I managed to get an unresolved symbol
error for _use_yp out of pam with the attached patch.
--=20
Benno Rice
benno@FreeBSD.org
--=-9k0bqDkq6XL7qGgV92Lo
Content-Disposition: attachment; filename=openpam-dlerror.diff
Content-Type: text/plain; name=openpam-dlerror.diff; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Index: contrib/openpam/lib/openpam_dynamic.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/openpam_dynamic.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 openpam_dynamic.c
--- contrib/openpam/lib/openpam_dynamic.c 7 Mar 2002 19:24:22 -0000 1.1.1.2
+++ contrib/openpam/lib/openpam_dynamic.c 16 Apr 2002 03:49:27 -0000
@@ -67,6 +67,7 @@
*strrchr(vpath, '.') =3D '\0';
if ((dlh =3D dlopen(vpath, RTLD_NOW)) =3D=3D NULL) {
free(module);
+ openpam_log(PAM_LOG_ERROR, "%s", dlerror());
return (NULL);
}
}
--=-9k0bqDkq6XL7qGgV92Lo--
--=-RcFO0AODSs04g0Ti+Cq0
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
iEYEABECAAYFAjy7n2MACgkQXjRwWofFmQm1yACdGCROrsAPzeAex8owgRHbDobC
ua8AoISGohwC8SVQ+VuuwJUtyR7YHs0m
=2qDP
-----END PGP SIGNATURE-----
--=-RcFO0AODSs04g0Ti+Cq0--
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1018929002.422.7.camel>
