I was able to sucessfully mount the /home directories for my users on  
my home network when they login just fine using autofs. The issue that  
I have now is that I would like to mount some additional NFS exports  
under /home/user but I need to be able to set up some kind of script  
or testing so that I can only mount certain exports depending on  
groups the user belongs to.

I have just the basic configuration for sharing the /home at this point.

In auto.master:
/home                     /etc/auto.home

In auto.home:
*                   serveripaddress:/home/&

This is working fine on one machine but not another, but I haven't had  
time to look at the machine that isn't working yet.

An example of what I want to do is this:
If the user belongs to Kids OR Adults then I want to mount the Music  
directory as such:
/home/user/Music

If the user is a memeber of Adults only then I want to mount Music and  
Financial as such:
/home/user/Music
/home/user/Financial

To be honest at this point I would even take mounting Music off of  
root if that would work, but I can't even get that to work. I have  
tried it like this:

In auto.master:
/Music                     /etc/auto.music

In auto.music:
/Music                    serveripaddress:/media/usb0/Music

AND this
*                         serveripaddress:/media/usb0/Music

Nothing seems to be working other than the mounting of /home. I have  
googled for days and I have read the docs, but I can't seem to figure  
this out. It doesn't seem like it should be that hard, but I seem to  
be making it hard. :)

Thanks for the help.

-Eric


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

Reply via email to