On Mon, Jan 26, 2004 at 10:30:17AM +0000, Fred Labrosse wrote:
> Linus harling writes:
>  > Ian Truelsen wrote:
>  > 
>  > >Is it possible, assuming that each user's home directory is on a
>  > >separate partition, to have the user's home directory mount only when
>  > >they login and then umount on logout?
>  > >  
>  > >
>  > 
>  > autofs (http://freshmeat.net/projects/autofs/?topic_id=142) does exactly 
>  > that...
>  > 
> 
> But it does not work with smb (at least, it doesn't with the version I
> tried (old RH7.x machine).
> 
> Does it now?


Works for me on RH 8.0 (using it to mount VMware drives):

>From my automounter config file:
vmware_c 
-fstype=smb,ip=andrey-vm,workgroup=vindigo.com,uid=andrey,gid=users,fmask=755,credentials=/etc/smb.vmware.login
 ://Andrey-vm/vmware_c

Note 'credentials' parameter. It's ugly and has my password in clear text 
but it doesn't need to be 'world-readable' for the thing to work.
Far from ideal solution but may give you some ideas.


-- 
- Andrey


~ In theory, practice and theory are the same,
  but in practice they are different (Larry McVoy) ~



--
[EMAIL PROTECTED] mailing list

Reply via email to