Date: Tue, 15 Jul 2003 15:30:16 -0700 (PDT) From: Dan Pelleg <daniel@pelleg.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/43582: passwd(1) fails on nonexistent users Message-ID: <200307152230.h6FMUGvS011017@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/43582; it has been noted by GNATS.
From: Dan Pelleg <daniel@pelleg.org>
To: Kris Kennaway <kris@FreeBSD.org>,
freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: bin/43582: passwd(1) fails on nonexistent users
Date: Tue, 15 Jul 2003 18:25:22 -0400
[resend, seems the first one was lost]
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?200307152230.h6FMUGvS011017>
