Initial NIS+ setup: autofs map config ?

From: John Courcoul (john.courcoul_at_mac.com)
Date: 09/24/04


Date: Fri, 24 Sep 2004 13:32:57 -0500

Hi,

I'm trying to set up a small number of SunBlades in a lab environment,
with the users having all their stuff in a SunFire server, with NIS+ as
the naming service.

Before populating the NIS+ tables on the newly configured root server,
I'd like to make sure I've got them right so I won't have to start
correcting and reloading from the start.

For the automounter to work, what maps do I have to load in the NIS+
space? The default auto_master comes set up like this:

  # Master map for automounter
  #
  +auto_master
  /net -hosts -nosuid,nobrowse
  /home auto_home -nobrowse
  /xfn -xfn

Do I have to remove the "+auto_master" entry on the file that
nispopulate is going to load?

On the "blank" default auto_home map:

  # Home directory map for automounter
  #
  +auto_home

Do I have to add a line for each and every user ? Like:

  joeuser theserver:/export/home/joeuser

Or is there some shortcut notation to tell it to look for joeuser's home
directory under theserver:/export/home ? Also on this subject, does that
mean that a new entry has to be added to the auto_home map every time a
new user is added ? Finally, do all home directories have to be right
under /home ? Or can you have subdirectories, like /home/dept1/joeuser ?

Thanks,

J. Courcoul



Relevant Pages

  • Redhat Linux, Sun Slaris OS NIS, NFS automount (auto.direct)
    ... Solaris NIS domain. ... The auto home directory mounting part through NIS YP map ... be auto-mounted by my clients too through the Solaris YP auto.direct map. ...
    (comp.os.linux.setup)
  • Redhat Linux, Sun Solaris OS NIS, NFS automount (auto.direct)
    ... The auto home directory mounting part through NIS YP ... map works, users can use their NIS user ID and passwd to log into the Redhat ... be auto-mounted by my clients too through the Solaris YP auto.direct map. ...
    (comp.unix.solaris)
  • Linux NFS automount, Sun Solaris NIS YP, auto.direct
    ... The auto home directory mounting part through NIS YP ... map works, users can use their NIS user ID and passwd to log into the Redhat ... be auto-mounted by my clients too through the Solaris YP auto.direct map. ...
    (comp.os.linux.networking)
  • more tru64 5.1A NIS problem
    ... Yesterday I'd submitted a post regarding a problem I'm having with NIS on ... cant bind to master for keck-center hosts.byname no such map in server's ... began when I tried to configure an NIS slave on a linux machine but it did ... Can't build server list from map "ypservers". ...
    (Tru64-UNIX-Managers)
  • Re: Automounter and NIS problem in Linux
    ... >>NIS domain to which the client belongs. ... > interfering with local users who may need a home directory but don't need it ... on Linux you're probably ok.. ... you can even do direct maps... ...
    (comp.os.linux.setup)