I have:

- An NAS (Iomega) which supports both NFS and CIFS. Call it N.
- A Fedora 25 desktop running Samba. Call it D.
- A Windows 10 VM (QEMU/KVM) running on D. Call it W.

I want to use N as a backup server for W, however W cannot see shares
on N. It complains about permissions. N runs a pretty old version of
Debian and is not really updateable, nor is it well documented. Perhaps
a Windows expert would find this trivial but I'm no expert in Windows
networking. Note that D has no trouble accessing shares on N via Samba.

However as D is also running a Samba service, which W can access, I
tried a workaround by having D mount a folder from N via NFS and
sharing it to W via Samba.

This is clunky but works *as long as SElinux is in Permissive mode*.
Otherwise it complains of permissions. Note that running smbclient on D
does see the same share (i.e. the NFS-mounted folder) with no issues,
but of course that's running as me.

What SE context should I apply to the NFS mount to allow me to keep
SElinux in Enforcing mode but still allow this passthrough to work?

poc
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

Reply via email to