I use

  /etc/auto.master
  /home   multi file /etc/auto_home --- nisplus auto_home

Machine-specific directories go in /etc/auto_home:

  /etc/auto_home
  userid       :/export/home/&

This is with autofs-3.1.4, which requires a patch (apparently included
in some 4.0 versions) to make "multi" work.

--darrel


Lukas Ruf <[EMAIL PROTECTED]> writes:

   I finally succeeded in configuring the NIS+ client under Linux and can
   even "automount" the statically defined directories.  What I am missing
   is a way how to setup the really automagic by using NIS+ to define the
   mount points and sources from within, e.g. /etc/auto.home

   Functioning:
   #/etc/auto.master: 
   /home /etc/auto.home

   #/etc/auto.home: 
   ruf server:/export/homes/ruf
   *   server:/export/homes/&

   As displayed: these trials are functioning, even for
   *   server:/export/homes/&
   But in fact, it is not that, what I am looking for.

   So I tried all the following "variants" -- none succeeded

   Not functioning: (all single trials consecutively collected)
   #/etc/auto.home:
   *   &:/export/homes/&
   *   auto_home
   *   nisplus:auto_home
   *   +auto_home
       +auto_home
       auto_home

   Does anyone know how to specify the correct settings for the
   autofs/automount to get automatigally all required directories mounted ?

   Any help is welcomed and appreciated.
   Thanks in advance,
   Kind regards,
   Lukas

Reply via email to