Re: Latest world NIS woes

From: Jacques A. Vidrine <nectar_at_FreeBSD.org>
Date: Fri, 18 Apr 2003 12:47:38 -0500
On Fri, Apr 18, 2003 at 07:31:11PM +0200, Philip Paeps wrote:
> Works as root, but root is a local user.   Should I test by putting root in my
> NIS-map?

Not necessary, but I think you would have found that it worked.

> > What is the GDB output of `info reg' ?
> 
> (gdb) info reg
[...]
> edi            0x0      0
[...]

Yeah, I think that was `strlen(NULL)'.

I committed a fix a few moments ago --- will u give it a go?
You should be able to grab src/lib/libc/gen/getpwent.c 1.74
and rebuild libc.  

(Actually, some other, unrelated fix went in earlier today, so you if
you don't want to cvs update and buildworld, you need to be sure to
get both:
  src/lib/libc/gen/getpwent.c 1.74
  src/include/pwd.h 1.15
and install pwd.h in /usr/include before rebuilding libc.)

Cheers,
-- 
Jacques A. Vidrine <nectar_at_celabo.org>          http://www.celabo.org/
NTT/Verio SME          .     FreeBSD UNIX     .       Heimdal Kerberos
jvidrine_at_verio.net     .  nectar_at_FreeBSD.org  .          nectar_at_kth.se
Received on Fri Apr 18 2003 - 08:47:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC