Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Oct 2004 08:31:44 -1000
From:      William Bierman <wbierman@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: NIS issue
Message-ID:  <f994b88004101111315bf191a6@mail.gmail.com>
In-Reply-To: <2b5f066d041011044746110d4e@mail.gmail.com>
References:  <f994b880041010155565d1b915@mail.gmail.com> <20041010.235204.4f07a9c7ff46fcd5.10.0.3.20@bugsgrief.net> <f994b88004101100442fe5b87@mail.gmail.com> <2b5f066d041011044746110d4e@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> Interesting...something that pops into my mind is something obvious
> since it was stated in the handbook, but needs to be said
> anyway...when you add stuff to the master.passwd file, do you re-make
> the database?  Also, if you follow the directions in the handbook,
> they suggest you make a different master.passwd file in /var/yp to
> store the accounts that go into nis....I re-wrote the make file
> section for passwd.* and told it to look to /etc/passwd where the UID
> is greater then 1000....and it works great for me...if you'd like a
> copy of the entries in the Makefile, I'll send them to you.  It sounds
> like that's what's going on (and I've had endless students make this
> mistake in class as well...it's a common one).

Yes, I have re-made the database multiple times, and I have copied my
master.passwd to /var/yp beforehand every time I did it.  You make an
interesting suggestion, however.  Is there something magical about the
number 1000 as it pertains to UIDs?  All of my users have UIDs above
this number.  The very odd thing about this issue is the information
that the server is giving out is not on the master anywhere that I can
find.  /var/yp/cluster/master.passwd.* (cluster is my NIS domain)
seems to contain the current and correct information.  I even
attempted a find / -exec grep (on test -r files only) for this
information, and came up with nothing.

Thanks again for your assistance!

Bill



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