==> On Fri, 16 Mar 2007 10:09:24 -0700 (PDT), Jim Carter <[EMAIL PROTECTED]> 
said:

Jim> On Sat, 17 Mar 2007, Ian Kent wrote:
Jim> > Let me see if I can clear this up.
Jim> > ...
Jim> > The first instance of a master map that is found, using nsswitch, is
Jim> > used unless it is explicitly specified, such as "/etc/auto.master",
Jim> > ...
Jim> > The first instance of each autofs managed indirect mount that is found
Jim> > in the master map is used. The corresponding map given in the entry is
Jim> > looked for by using nsswitch specified sources unless the source is
Jim> > explicitly given, such as "/etc/auto.mymap" in which case only that map
Jim> > is used. Additional instances of the same indirect mount point in the
Jim> > configuration are ignored.
Jim> > ...
Jim> > Automount key lookups use the same rules as the lookup of maps above and
Jim> > the first instance of a map key found is used.

Jim> Yes, this does clear it up.  Autofs' philosophy differs from other 
Jim> nsswitchable maps, where a key is looked for in potentially every listed 
Jim> data source until found.  Whereas, autofs identifies the first map that 
Jim> exists, and looks up a key in that map, and if it's absent, you lose.  It 
Jim> doesn't go on to look for the key in subsequent data sources such as LDAP, 
Jim> unless the plus kludge has been used.  (In any case, the first found 
Jim> instance of the key is used and subsequent instances or sources are 
Jim> not looked at.)

Yes, and this was a major point of confusion for me when I first
started working on autofs.  However, we're stuck with it.

-Jeff

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to