On Mon, 31 Oct 2005, Dannie Stanley wrote:

> >
> > I have generated a DIRECT map file and defined it in /etc/auto.master.
> >  My direct mappings look like this (located in /etc/auto.virtual):

Ummmm .... 

Oops looks like there's a check that stop this from working correctly for 
direct mounts.

There was probably a reason for it so let me think about it for a bit and 
I'll put together a patch.

In the mean time you could work around this using an indirect map like:

In the master:

/virtual        /etc/auto.virtual

In auto.virtual:

USERNAME /public localhost:/dir1 /private localhost:/dir2

for each of your USERNAME entries.

or you could use a direct map like:

/virtual/USERNAME/private localhost:/dir1
/virtual/USERNAME/public localhost:/dir2

for each of your USERNAME entries.

Ian

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

Reply via email to