Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jun 1999 01:09:50 -0400 (EDT)
From:      Mike Nowlin <mike@argos.org>
To:        freebsd-security@FreeBSD.ORG
Subject:   Re: NIS strangeness
Message-ID:  <Pine.LNX.4.05.9906070104130.4296-100000@jason.argos.org>
In-Reply-To: <Pine.LNX.4.05.9906062349490.4215-100000@jason.argos.org>

next in thread | previous in thread | raw e-mail | index | archive | help

> Basically, if "root" is who's calling getpwnam(), the NIS lookup fails.
> If any other user calls getpwnam(), it works.  Example:
> 

Here's an interesting bit of information:

Running tcpdump with the "-x" option and decoding the hex bytes off the
network, the NIS server IS sending back the correct line from
master.passwd.byname in the 4th packet in the transaction when root
calls getpwnam(). For some reason, it never seems to get back to the user
program that called it, though.  

Ho, hum.....  Time to go digging through libc's source.... :)

--Mike




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-security" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.05.9906070104130.4296-100000>