[Samba] sharing an autofs nfs mount

Thomas Kamalakis thkam at hua.gr
Wed Apr 6 17:17:37 UTC 2022


In our case we are using the ad idmap backend to ensure that all users have
the same uids in all domain machines. I don't think NFS will work otherwise
but maybe someone more samba savvy can provide better alternatives

T.

On Wed, 6 Apr 2022, 16:01 Thibault Roulet via samba, <samba at lists.samba.org>
wrote:

> Hi,
>
> This setup is probably not super clean but I don't have much choice.
> Here is the structure
>
> There is an Autofs configuration on myserver1 to automount nfs shares
> from remote machines into /data/clients/.
>
> [myserver1]
>
> ├── client1504l
> ├── client1504r
> ├── client1508
> ├── client1509
> ├── client1510
> ├── client1512
> ├── client1514
> ├── client1516
> ├── client1518
> ├── client2407l
> ├── client2407r
> ├── client3204
> ├── client4313l
> ├── client4313r
> ├── client5313l
> ├── client5313r
> ├── clientf492l
> ├── clientf492r
>
>
> Then, in my smb.conf I'm sharing /data/clients/
>
> Users can access this share and therefore all the files from all the
> clients.
>
> To have this setup working, I have to add
>      msdfs root = yes
> in my share definition. Else, impossible to enter it.
>
> Then, I have plenty of errors in my syslog like
>
> smbd[30605]: vfswrap_read_dfs_pathat: Error reading msdfs link
> folder1/folder2: No such file or directory
>
> Is that something normal?
>
> Is there another way to do what I want to do? (I mean, a cleaner way?)
>
> Cheers,
>
>
> --
> Thibault Roulet
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list