From owner-freebsd-questions Fri May 12 08:13:02 1995 Return-Path: questions-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id IAA07282 for questions-outgoing; Fri, 12 May 1995 08:13:02 -0700 Received: from gemsgw.med.ge.com (gemsgw.med.ge.com [192.88.230.10]) by freefall.cdrom.com (8.6.10/8.6.6) with SMTP id IAA07276 for ; Fri, 12 May 1995 08:13:00 -0700 Received: from gemed.med.ge.com by gemsgw.med.ge.com (4.1/GEMS-1.1) id AA00715; Fri, 12 May 95 10:13:35 CDT Received: from sol.sol.med.ge.com (sol-gw) by gemed.med.ge.com (4.1/SMI-4.1) id AA21298; Fri, 12 May 95 10:13:54 CDT Received: from merak.med.ge.com by sol.sol.med.ge.com (4.1/SMI-4.1) id AA28919; Fri, 12 May 95 10:13:16 CDT From: laufen@sol.med.ge.com (Derek Laufenberg x7-4534) Received: by merak.med.ge.com (4.1/client-1.3) id AA19695; Fri, 12 May 95 10:13:14 CDT Date: Fri, 12 May 95 10:13:14 CDT Message-Id: <9505121513.AA19695@merak.med.ge.com> To: freebsd-questions@freefall.cdrom.com Subject: YP - getpwnam requests core dumps on client Sender: questions-owner@FreeBSD.org Precedence: bulk A while back I asked for some help getting YP/NIS service running. Well I spent some more time "RTFMing" and found I had not added the NIS indicators in /etc/master.passwd, /etc/group, and /etc/hosts. Newbie error I know :). The hosts changes work fine for me. I can reach any host in the master. So I know that the ypbind is running fine. Well when I changed the master.passwd file to include a '+:*::::::::' entry a number of things broke. All of the following core dump with a signal 11. login with any name besides root ls -l in a directory which contains files with a UID which needs YP lookup yppasswd with any name besides root I recompiled passwd with symbols and started the debugger (gdb). Steping thru one of the cases which fail I found that all of the NIS commands work until getpwnam is called. This is the function which kills the process. I don't have the code in front of me, but it was line 256 of the file which contains the yp hash code. I'm running 4-12-95 SNAP on both the client and server machines. Thanks for any insight. Derek Laufenberg