SUMMARY: NIS map called policies

From: Michael A McDevitt (mad@suned1.nswses.navy.mil)
Date: Thu Jul 28 1994 - 19:18:58 CDT


Hi all,

Thanks to Hal Stern the mystery has been resolved.
Turns out there is a -p flag to rarpd. This flag controls
whether or rarpd will query for a NIS map called policies.
I have included my original post and Hal's response.

again thanks to
stern@sunrise.East.Sun.COM

-----original post --------------
While using snoop to check a another problem I noticed
that all of my NIS clients that were running rarpd were
looking for a NIS map on the server called policies. Each
NIS client would look for a map called policies everytime
it failed to resolve a rarp request. Below is a sample snoop
report between one of my NIS clients and its NIS server. The
only reference to a map called policies that I could find was
in Answerbook and it said that the map was only used on 386i's.

My clients are SS 2's and my server is SS 10/41 all running 4.1.3

Does anyone know why the clients are looking for this map?

Thanks Mike

client is spcsed1 and server is sp10t0

---------snoop report -----------
  1 0.00000 spcsed1 -> sp10t0 NIS C MATCH 0:0:1d:9:ce:33 in ethers.byaddr
  2 0.00511 sp10t0 -> spcsed1 NIS R MATCH No such key
  3 0.01266 spcsed1 -> sp10t0 NIS C MATCH pnp in policies
  4 0.00258 sp10t0 -> spcsed1 NIS R MATCH No such map
  5 0.86597 spcsed1 -> sp10t0 NIS C MATCH 0:0:1d:6:fc:94 in ethers.byaddr
  6 0.00173 sp10t0 -> spcsed1 NIS R MATCH No such key
  7 0.01653 spcsed1 -> sp10t0 NIS C MATCH pnp in policies
  8 0.00300 sp10t0 -> spcsed1 NIS R MATCH No such map
---------------------------------------------------------

---------------Hal's response----------------
there's actually a flag to rarpd that controls this. it's used
to check the policies map for pnp (plug and play) to assign
IP addresses automatically. if you use
        -p off
        -p on
        -p auto

you'll get policies off, on or automatically detected via the presence
of a "policies" map. if you want ot shut this off, use
        rarpd -p off
--------------------------------------------

I have test Hal's answer and it works as advertised.

Mike



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:09:06 CDT