*BSD News Article 92449


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.cs.su.oz.au!inferno.mpx.com.au!news.mel.aone.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!serv.hinet.net!news-peer.nctu.edu.tw!news.nctu.edu.tw!spring.edu.tw!su-news-hub1.bbnplanet.com!cpk-news-hub1.bbnplanet.com!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!howland.erols.net!sol.ctr.columbia.edu!startide.ctr.columbia.edu!wpaul
From: wpaul@ctr.columbia.edu (Bill Paul)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: stale passwd problem
Date: 26 Mar 1997 15:49:05 GMT
Organization: Columbia University Center for Telecommunications Research
Lines: 56
Message-ID: <5hbghh$lfk@sol.ctr.columbia.edu>
References: <5h7rvg$f07@delphi.cs.ucla.edu> <5h8rj1$o3p@sol.ctr.columbia.edu> <5h9vcr$s9t@delphi.cs.ucla.edu>
NNTP-Posting-Host: startide.ctr.columbia.edu
X-Newsreader: TIN [version 1.2 PL2]
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:38155

Daring to challenge the will of the almighty Leviam00se, Scott Michel
(scottm@cs.ucla.edu) had the courage to say:

: Bill Paul <wpaul@ctr.columbia.edu> wrote:
: : Daring to challenge the will of the almighty Leviam00se, Scott Michel
: : (scottm@cs.ucla.edu) had the courage to say:

: : : I have a NIS master server, connected to a NIS backup server,
: : : serving 2.1.6 clients on a seperate subnet, viz:

: : :      NIS             -> NIS              -> client
: : :      master server      backup server

: : The master server has to push the modified maps to the slave server
: : when there's an updated. To do this, you have to:

: This is done already by the NIS master server (running FreeBSD). To
: quote myself:

: : : I've made sure that the master.passwd.* and passwd.* maps have
: : : been transferred to the backup server.

: In all respects, everything else (automount maps, host names, netgroups)
: works correctly.


: -scottm

Okay: forgive me for being skeptical, how how exactly did you determine
that the passwords are being propagated to the slave server? If you do a
password change on a client and then ypcat the maps (as root, in the case
of the master.passwd maps) on both the master and the slave, can you see
the changes? Can you see the changes in both the *.byname and *.byuid
maps?

If the slave is being updated correctly, then the only possibilities
I can think of are:

- The clients are bound to a totally different server somehow and that
  server isn't being updated correctly.
- Somebody has created entries in the local /etc/master.passwd file that
  override the ones in the NIS maps.

Unfortunately, I can't really speculate any further without being there
to investigate first hand.

-Bill

--
=============================================================================
-Bill Paul            (212) 854-6020 | System Manager, Master of Unix-Fu
Work:         wpaul@ctr.columbia.edu | Center for Telecommunications Research
Home:  wpaul@skynet.ctr.columbia.edu | Columbia University, New York City
=============================================================================
  "Now, that's "Open" as used in the sentence "Open your wallet", right?"
=============================================================================