[Samba] multiuser with simple user mapping

Jeremy Allison jra at samba.org
Mon Jul 12 19:26:35 UTC 2021


On Fri, Jul 09, 2021 at 05:00:33PM -0400, Eric Levy via samba wrote:
>
>It seems not be what I want. What I want is multiple users on the
>client accessing the same mount but with different permissions enforced
>for each. I want the permissions to reflect the permissions for the
>corresponding users on the NAS.
>
>It seems by now it has been made clear that it is impossible to achieve
>this result without some kind of domain server, so I suppose what
>benefits me most now is instructions for provisioning a domain server
>on the Synology DiskStation NAS as easily as possible, assuming minimal
>previous knowledge of domains.

If the uid's are unified on the NAS server and the client,
then all you need to is a multiuser mount (from a Linux
client).

https://www.thegeeksearch.com/how-to-perform-multi-user-smb-mount-in-centos-rhel-7/

Windows client mounts reflect the user who did the
'net use' mount. eg.

net use <driver letter> \\<servername>\<sharename> /user:<username> <password>



More information about the samba mailing list