From owner-freebsd-bugs Mon Aug 26 10:32:37 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA26167 for bugs-outgoing; Mon, 26 Aug 1996 10:32:37 -0700 (PDT) Received: from whorfin.sjca.edu ([199.89.180.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA26054 for ; Mon, 26 Aug 1996 10:31:13 -0700 (PDT) Received: from continuity.sjca.edu (continuity.sjca.edu [199.89.180.11]) by whorfin.sjca.edu (8.7.5/8.7.3) with ESMTP id NAA18804; Mon, 26 Aug 1996 13:30:29 -0400 (EDT) From: Matt Braithwaite Received: (mab@localhost) by continuity.sjca.edu (8.7.5/8.6.12) id NAA01013; Mon, 26 Aug 1996 13:31:04 -0400 (EDT) Date: Mon, 26 Aug 1996 13:31:04 -0400 (EDT) Message-Id: <199608261731.NAA01013@continuity.sjca.edu> Reply-To: m-braithwaite@sjca.edu X-Organization: The Ancient Illuminated Seers of Bavaria X-Url: my homepage To: Bill Paul Cc: bugs@freebsd.org Subject: Re: passwd says ``yppasswdd not running on NIS master host'' In-Reply-To: <199608261559.LAA12361@skynet.ctr.columbia.edu> References: <199608261421.KAA00853@continuity.sjca.edu> <199608261559.LAA12361@skynet.ctr.columbia.edu> Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Bill Paul writes: > Everything, except you forgot to tell us what version of FreeBSD > you're using. :) > > Since you said 'yppasswdd' rather than 'rpc.yppasswdd' I'm going > to assume you're using 2.1.5. (I rewrote pretty much all of the NIS > server-side support for 2.2.) you're correct; sorry. your rewrite looks very compelling (i read about it before switching to freebsd), but i wasn't ready to go to 2.2 while it's still under development. > - Both passwd and chpass determine the name of the master host by performing > a yp_master() on the passwd.byname map. (By contrast, ypwhich just > asks ypbind what server it's bound to.) This means that the name of the > master server must be encoded correctly into the map, otherwise they'll > get confused. Go to the NIS server and do the following: > > # cd /var/yp/ > # yp_mkdb -u passwd.byname | grep YP_MASTER_NAME holy smokes--- i changed the hostname recently, but did not rebuild the password maps, because i didn't know about this. i just touched master.passwd, and rebuilt, and now everything works file. > YP_MASTER_NAME is a special key that the yp_mkdb program encodes into > each NIS map as it is being built. (There are a few others too.) is this documented anywhere? it sounds like i need to learn more about YP internals. :-) > Hope this helps. absolutely. thank you very much. -- Matt Braithwaite #!/bin/perl -s-- -export-a-crypto-system-sig -RSA-3-lines-PERL http:// $m=unpack(H.$w,$m."\0"x$w),$_=`echo "16do$w 2+4Oi0$d*-^1[d2%Sa www.sjca.edu/ 2/d0