From owner-freebsd-questions Sat Aug 29 17:52:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA21403 for freebsd-questions-outgoing; Sat, 29 Aug 1998 17:52:56 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from gate.leissner.se (gate.leissner.se [193.45.192.34]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA21397 for ; Sat, 29 Aug 1998 17:52:53 -0700 (PDT) (envelope-from pol@leissner.se) Received: from leissner.se (uucp@localhost) by gate.leissner.se (8.8.8/8.8.8) with UUCP id AAA14484 for freebsd.org!freebsd-questions; Sun, 30 Aug 1998 00:51:58 GMT Received: from lda.leissner.se by lda.leissner.se id aa13712; 30 Aug 98 2:51 SST Message-Id: <3.0.32.19980830025226.008e4d10@lda> X-Sender: pol@lda X-Mailer: Windows Eudora Pro Version 3.0 (32) Date: Sun, 30 Aug 1998 02:52:29 +0200 To: David Wolfskill From: Peter Olsson Subject: Re: Problem with NIS losing contact with master Cc: freebsd-questions@FreeBSD.ORG Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 08:07 AM 8/24/98 -0700, David Wolfskill wrote: >>Date: Sun, 23 Aug 1998 22:51:19 +0200 >>From: Peter Olsson > >>We have recently started using NIS for passwd-syncing between two of >>our internal servers. They are on different subnets and this seems to >>cause trouble for the client. > >I believe you'll want to set up "slave" servers on each subnet. > >If I recall correctly, NIS depends on broadcasts to a significant >degree, and those generally don't get routed between subnets. > >david I have spent some more hours on this now :( I can't get it to work the way I want. I can get it to work by setting both servers as masters with NOPUSH=True and then using ypxfr -h for all maps in a script started every 5 minutes in cron on the slave. This causes unnecessary network traffic and a temporary mismatch in the maps between the servers. The problem seems to be that the slave is both master and client. It seems that when the "master master" does its push, the "slave master" tries to do ypxfr from itself, because it is its own master... Not very meaningful. Please give me the solution to this if there is one. I don't think my current solution is very optimal. Thanks for your time! Peter Olsson pol@leissner.se To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message