Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!cs.mu.OZ.AU!munnari.OZ.AU!news.ecn.uoknor.edu!solace!nntp.se.dataphone.net!nntp.uio.no!newsfeed.nacamar.de!fu-berlin.de!news.mathworks.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: 25 Mar 1997 15:39:13 GMT Organization: Columbia University Center for Telecommunications Research Lines: 46 Message-ID: <5h8rj1$o3p@sol.ctr.columbia.edu> References: <5h7rvg$f07@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:37962 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 : I've made sure that the master.passwd.* and passwd.* maps have : been transferred to the backup server. Yet, when a user changes : their password, the client continues to use the "old" password, : even though on the NIS servers, the password *has* changed. : What am I overlooking? The master server has to push the modified maps to the slave server when there's an updated. To do this, you have to: - Create a /var/yp/ypservers file and put in it the hostname of the slave server. - Edit /var/yp/Makefile and comment out the line that says 'NOPUSH=True'. - cd /var/yp; make (to load the ypservers map) What's supposed to happen is that yppasswdd will spawn a 'make' when the passwd maps change, and this will cause the new maps to be pushed to the slave server. But yppush looks in the ypservers map to learn the identities of the slave servers: if you don't have this map, nothing will be propagated unless you force it by manually specifying a hostname. Also, yppush will only be run if 'NOPUSH=True' has been commented out. Note that in 2.2 and up, FreeBSD also has an rpc.ypxfrd for speeding up transfers of large maps. -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?" =============================================================================