View Single Post

   
  #2 (permalink)  
Old 01-16-2008, 10:34 AM
Gary Mills
 
Posts: n/a
Default Re: autofs maps under NIS control

In <1183864868.111751.138380@57g2000hsv.googlegroups. com> sgsnewsgrp@gmail.com writes:

>I'm using the following autofs maps to import under NIS:


>auto_master:
>/home auto_home -nobrowse


>auto_home:
>user1 host1:/export/home/&
>user2 host1:/export/home/&
>user3 host1:/export/home/&


>After the import they look like this under NIS:


>ypcat auto.master
>auto_home -nobrowse


>ypcat auto.home
>host1:/export/home/&
>host2:/export/home/&
>host3:/export/home/&


Try `ypcat -k' if you want to see the keys. Some NIS maps duplicate
the keys into the values for historical reasons. This one doesn't.
--
-Gary Mills- -Unix Support- -U of M Academic Computing and Networking-
Reply With Quote