Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NIS problem with OSF/1 2.1 & 3.0
@ 1995-02-08 17:49 Graham Allan
  1995-02-14 22:45 ` Ken Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Graham Allan @ 1995-02-08 17:49 UTC (permalink / raw)



I am having a strange problem with NIS under OSF/1 versions 2.1 and 3.0.

Our current NIS master server is running OSF/1 v2.1. I'm now setting up a
new system with OSF/1 v3.0, which I would like to make a slave server
(there are currently no other slaves). Having used ypsetup on both the
master and slave machines, it now almost works - but I can't seem to get
it past the "almost" stage! As well as the "standard" databases (passwd,
hosts, etc), we also have a bunch of automounter maps (named "auto.master",
etc).

The master server's YP makefile is modified to build and push these maps
and all has been working well between it and the clients since it was set
up. However, the new slave server doesn't receive any of these nonstandard
databases. If I do a "make all" on the master server (after first 'touch'ing
all source files to force updates), it updates and pushes passwd, hosts,
netgroup, etc without problem, but the added automounter databases give the
response:

No response from ypxfr on (name of slave server)

I'm not sure if there's any other information which is pertinent. ypwhich
on the slave server reports it being bound to itself. I added entries for the
extra databases in the slave servers "ypxfr_2perday" script, but attempting
to execute (for example) "ypxfr auto.master" gives the response:

Can't get master of auto.master. reason: No such map in servers domain.

Now, executing "ypxfr -h <master-server-name> auto.master" DOES work, but
I don't see that this is the correct solution! If it can find and transfer
the standard databases without extra prompting , why can't it find the
others?

I'm sure I must be missing something very simple and obvious here... any
advice would be much appreciated!

Graham Allan


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: NIS problem with OSF/1 2.1 & 3.0
  1995-02-08 17:49 NIS problem with OSF/1 2.1 & 3.0 Graham Allan
@ 1995-02-14 22:45 ` Ken Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Ken Cameron @ 1995-02-14 22:45 UTC (permalink / raw)


In article <D3p05I.5C9@news.cis.umn.edu>,
Graham Allan <allan@mnhep1.hep.umn.edu> wrote:
>Our current NIS master server is running OSF/1 v2.1. I'm now setting up a
>new system with OSF/1 v3.0, which I would like to make a slave server
>(there are currently no other slaves). Having used ypsetup on both the
>master and slave machines, it now almost works - but I can't seem to get
>it past the "almost" stage! As well as the "standard" databases (passwd,
>hosts, etc), we also have a bunch of automounter maps (named "auto.master",
>etc).

When I do nis setups here's how I do slaves:

1. ypsetup the slaves
2. ypsetup the master again listing the slaves
3. ftp ALL the maps to the clients
4. touch the source maps (or remove the *.time files)
5. make all

For me it then does send everything everywhere. I would like comments by others
on how this works for them.

-- 
-ken cameron. Employer: Computer Task Group. UNIFORUM /cny Users Group Director.
SkyDiver: Zoo-602, A-8596, D-11839. Skier down&cross. English Hunter Rider.
Internet: kcameron@ctg.com  Home DZ: FingerLakes Skydivers, Ovid NY
Disclaimer: "<under construction>"


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-02-14 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-08 17:49 NIS problem with OSF/1 2.1 & 3.0 Graham Allan
1995-02-14 22:45 ` Ken Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox