[Samba] Mounted NFS share as Samba share
Gaiseric Vandal
gaiseric.vandal at gmail.com
Fri Jan 9 08:30:37 MST 2015
On 01/09/15 04:35, Denis Cardon wrote:
> Hi Tim,
>
>> is it possible to create a Samba share with full Windows ACL support
>> based on a mounted NFS share?
>>
>> What is needed e.g. as NFS mount options?
>
> unless you mount the share read only, you will have file locking
> issues. So it may not be a good idea, even if you get the acl to work
> properly.
>
> Cheers,
>
> Denis
>
>
>
>>
>> Regards
>> Tim
>>
>
>
I use autofs heavily for linux clients e.g.
/home/user1 mounts server1:/export/Home/user1,
/home/user2 mounts server1:/export/Home/user2
/home/user3 mounts server2:/export/Home/user3
Have samba share the /home directory for the "home" share for Windows
made it easy to make it look like all home directories were in a single
parent directory. It had various limitations so I moved away from
that. Each NFS server also runs samba and, if necessary, I use
DFS links. E.g. server1 has most home directories, shares
/export/Home as "Home" in samba, with DFS links any home directories on
different servers.
E.g
#cd /export/Home
#file *
#user1: directory
#user2: directory
#user3: symbolic link to msdfs:server2\Home\user3
The point is that anything you wanted to do with Samba over NFS, you can
probably accomplish by other means.
More information about the samba
mailing list