From: Niall O Broin (niall at domain linux.ie)
Date: Thu 13 Jun 2002 - 09:25:54 IST
I've encountered a strange problem with apparent caching of passwords
somehow. I have a NIS server and a couple of NIS clients, call them serv1,
lpc1 and lpc2 (because they're their names :-) ). I connect to lpc1 as frank
with password xxx. On lpc1 I run yppasswd and change the password to yyy.
I connect to lpc2 as frank with password yyy - does exactly what it says on
the tin.
I then disconnect from lpc1 and try to reconnect as frank with password yyy
only to have the password rejected. Try again with password xxx and that
works.
Again disconnect from lpc1 and try to reconnect as frank with password yyy
and again no joy. Repeat until very puzzled.
After a period of time (maybe ten minutes) it seems that the cache is
flushed and I can then connect to lpc1 as frank with password yyy.
Both clients have passwd: files nis in /etc/resolv.conf and neither has a
local entry for frank. The changed passwd maps are being propagated
(otherwise I couldn't connect to lpc2 with the changed password) and ypcat
passwd.byname on lpc1 and lpc2 gives me the same output.
Any ideas ?
Niall
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:14 GMT