On Wed, 2006-11-08 at 22:37 -0500, Jeff Moyer wrote:
> Hi, Ian, list,  (again, sorry if this is a dup)
> 
> Here is an implementation of included map support for autofs v4.  This
> supports included maps in both the master map, and regular direct or
> indirect file maps.
> 
> Because I dread writing bash code, I implemented the included map
> checking for the master map in C.  We basically just call into the
> daemon with a bogus mount point, asking for it to dump out all of the
> maps.  This works well for 2 reasons: 1) it's not bash, and 2) it
> re-uses the code that the daemon will use to read the included maps
> anyway.
> 
> Review would be greatly appreciated.  I tested this in my environment
> by creating a number of included maps, and modifying
> /etc/nsswitch.conf to ensure that it works as expected for file and
> NIS maps.

I've only looked briefly at this but I get the impression that it will
allow "+" map inclusion from other than file maps. Is that right?

If that is the case we need to explicitly ignore "+" map entries in map
sources other than file maps as it's not legal or at least for
consistency.

Ian


_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to