Date: Sun, 13 Jul 2003 07:10:33 -0400 From: Dan Pelleg <daniel@pelleg.org> To: Kris Kennaway <kris@FreeBSD.org> Cc: freebsd-bugs@FreeBSD.org Subject: Re: bin/43582: passwd(1) fails on nonexistent users Message-ID: <16145.15913.213035.802098@gargle.gargle.HOWL> In-Reply-To: <200307130613.h6D6DKiZ094843@freefall.freebsd.org> References: <200307130613.h6D6DKiZ094843@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Here is the base-64 decoding of it. Since submitting this I lost the ability to easily trigger the condition or test the patch. It also seems the patch is reversed. --- usr.bin/passwd/passwd.c Sat Oct 19 19:42:45 2002 +++ usr.bin/passwd/passwd.c.orig Sat Oct 19 19:02:49 2002 @@ -220,13 +220,6 @@ fprintf(stderr, "realm %s\n", realm); exit(krb_passwd(argv[0], iflag, rflag, uflag)); } -#ifdef YP - /* - * As we fall back to local_passwd, we need to make sure that - * the local_password struct is initialized. - */ - use_yp(uname, 0, 0); -#endif #endif } exit(local_passwd(uname));
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16145.15913.213035.802098>