Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Apr 2003 19:31:11 +0200
From:      Philip Paeps <philip@paeps.cx>
To:        current@freebsd.org
Subject:   Re: Latest world NIS woes
Message-ID:  <20030418173111.GF714@juno.home.paeps.cx>
In-Reply-To: <20030418165124.GE45899@madman.celabo.org>
References:  <EE3D3FBAFFCAED448C21C398FDAD91AC0107F7@EBE1.gc.nat> <20030418162813.GA714@juno.home.paeps.cx> <20030418165124.GE45899@madman.celabo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2003-04-18 11:51:24 (-0500), Jacques A. Vidrine <nectar@FreeBSD.org> wrote:
> On Fri, Apr 18, 2003 at 06:28:13PM +0200, Philip Paeps wrote:
> > I'm also getting ssh to dump cores on me when I run it as a nis user.  No
> > problems as a normal user.  I have 'passwd: nis files' and 'group: nis
> > files' in my nsswitch.conf.

[...]

> Huh, probably one of the struct passwd fields is returned set to NULL, most
> likely pw_class (which shouldn't be filled-in if you are not root).

Works as root, but root is a local user.  Should I test by putting root in my
NIS-map?

> What is the GDB output of `info reg' ?

(gdb) info reg
eax            0x0      0
ecx            0xffffffff       -1
edx            0xd      13
ebx            0x280b1920       671815968
esp            0xbfbff558       0xbfbff558
ebp            0xbfbff578       0xbfbff578
esi            0x8065140        134631744
edi            0x0      0
eip            0x2828d225       0x2828d225
eflags         0x10246  66118
cs             0x1f     31
ss             0x2f     47
ds             0x2f     47
es             0x2f     47
fs             0x2f     47
gs             0x2f     47
fctrl          0x127f   4735
fstat          0x0      0
ftag           0x0      0
fiseg          0x0      0
fioff          0x0      0
foseg          0x0      0
fooff          0x0      0
fop            0x0      0

 - Philip

-- 
Philip Paeps                                          Please don't CC me, I am
philip@paeps.cx                                       subscribed to the list.

  A political man can have as his aim the realization of freedom,
  but he has no means to realize it other than through violence.
  		-- Jean Paul Sartre



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030418173111.GF714>