stringman
Cadet
- Joined
- Apr 29, 2019
- Messages
- 6
Is there a way to map a different NFS UID based on IP like you can in Linux?
For example, I have a CentOS server with the following /etc/exports entries:
/storage/sharedstore 192.168.0.0/24(rw,sync,no_root_squash)
/storage/sharedstore 10.128.0.0/24(ro,sync)
One subnet is able to operate as root, while another only has read-only access.
I've tried making entries on my FreeNAS installation in which one IP has --maproot="nobody" and another has --maproot="root," but the line I add manually appears to be ignored.
For example, I have a CentOS server with the following /etc/exports entries:
/storage/sharedstore 192.168.0.0/24(rw,sync,no_root_squash)
/storage/sharedstore 10.128.0.0/24(ro,sync)
One subnet is able to operate as root, while another only has read-only access.
I've tried making entries on my FreeNAS installation in which one IP has --maproot="nobody" and another has --maproot="root," but the line I add manually appears to be ignored.