Hi NSS workers! I report about getgrnam(3) core dump problem. 1. On FreeBSD 5.0-CURRENT 22 Apr 2003 JST. (may be after NSS) $FreeBSD: src/lib/libc/gen/getgrent.c,v 1.27 2003/04/20 01:12:00 nectar Exp $ 2. This machine is NIS slave/client one. NIS master server is 4-STABLE machine. 3. /etc/group has +:*:: line. A user (as foo:foo account) which causes a problem is not in /etc/group of current, but is on NIS. 4. Following simple program(or id, chown, tar, etc..) does crash in getgrnam(3). - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - #include <grp.h> int main(void) { struct group *grp = getgrnam("foo"); return 0; } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5. Add foo:*:: to /etc/group of current. But above program dosen't crash. 6. On (3) and (4) environment, I try to gdb it. I can't follow it. Anyone, please check this problem!Received on Tue Apr 22 2003 - 06:32:15 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:04 UTC