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/ |
-----------------------------------------------------------------------
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!