From: Mark Finlay (sisob at domain eircom.net)
Date: Thu 13 Jun 2002 - 22:33:07 IST
On Thu, 2002-06-13 at 09:32, Niall O Broin wrote:
> 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.
>
What happens if you change the password on serv1 instead of the client
-- Mark Finlay ----------------------------------------------------------------------- | sisob's linux eXPerience | Evolved OpenOffice | | http://sisob.dyndns.org | http://evolvedoo.dyndns.org/ | -----------------------------------------------------------------------
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:17:15 GMT