==> Regarding [autofs] Q: Does nsswitch and/or +ypmapname work for indirect 
maps?; "Brian Stevens" <[EMAIL PROTECTED]> adds:

brian> Should the "+ypmapname" and/or nsswitch.conf allow an indirect map
brian> to pick up entries from both a local file AND a NIS map?  I have
brian> tried many revisions of autofs 4.1.3 with kernels 2.4.21 and 2.6.x,
brian> and what I am experiencing does not seem to correlate with the
brian> ChangeLogs I've read.

brian> I have an auto.master map which includes "/apps auto.apps".
brian> auto.apps is distributed via NIS.  I would like, on one host, to
brian> override one of the NIS entries with a local one.  I created a local
brian> /etc/auto.apps with "oracle hous0117:/vol/vol013/oracle-hous0138".
brian> I would like the /apps automount to use that local entry from
brian> oracle, but also grab any other entries from the NIS map.  I have
brian> found that I can get the indirect map to use the local file OR the
brian> NIS map, but not both.

brian> Is that possible?  Should it work?

AFAICT, the +mapname syntax is not currently supported in indirect maps.
This should be a todo item.

-Jeff

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

Reply via email to