Hello @ all,
I'm currently testing FreeNAS as an alternative to my Synology NAS. Currently I'm trying to get NFS ready for my home network. I basically understand how NFS works but I have problems understanding NFS 4 permissions. Maybe someone can help me with that.
I need NFS for rancher equipped with plex, dokuwiki and some caldav/carddav server. Some of these folders are also used by network users. My whole network is Linux Mint based besides one damn windows client. So NFS should be best choice for file sharing.
In FreeNAS I created a pool storage with a dataset nfs, beneath that some more datasets like music, video, dokuwiki and so on.
My users have same ID/name/password on FreeNAS and the Mint computers and are all in the "user" group on FreeNAS.
One NFS share /mnt/Storage/nfs is created, all dirs are mountable.
Dataset nfs is configured as followed:
- Apply user: root
- apply group: user
-r/w/e allowed for Owner and Group
OK, now I mount the nfs share on Mint within fstab:
servername:/mnt/Storage/nfs /mnt/nfs nfs nfsvers=4,rw 0 0
If I browse to the mount point on my Mint computer and try to select nfs I am asked for a password.
And now my questions:
I want to share different folders to different network users, some are used together, some are only r/w for specified users.
-> why am I asked for a password (see above)? Is Mint trying to connect with the local account? If yes, it should work because of same name/ID/password. It would be best to authenticate like in SMB: only allowed users are able to read and write specified shares from FreeNAS nfs.
Where can I enter credentials in fstab for nfs share?
Do I need to set up security in the NFS share? krb5, krb5i or krb5p to get my plan working?
Thank you very much for your help and tips :)
I'm currently testing FreeNAS as an alternative to my Synology NAS. Currently I'm trying to get NFS ready for my home network. I basically understand how NFS works but I have problems understanding NFS 4 permissions. Maybe someone can help me with that.
I need NFS for rancher equipped with plex, dokuwiki and some caldav/carddav server. Some of these folders are also used by network users. My whole network is Linux Mint based besides one damn windows client. So NFS should be best choice for file sharing.
In FreeNAS I created a pool storage with a dataset nfs, beneath that some more datasets like music, video, dokuwiki and so on.
My users have same ID/name/password on FreeNAS and the Mint computers and are all in the "user" group on FreeNAS.
One NFS share /mnt/Storage/nfs is created, all dirs are mountable.
Dataset nfs is configured as followed:
- Apply user: root
- apply group: user
-r/w/e allowed for Owner and Group
OK, now I mount the nfs share on Mint within fstab:
servername:/mnt/Storage/nfs /mnt/nfs nfs nfsvers=4,rw 0 0
If I browse to the mount point on my Mint computer and try to select nfs I am asked for a password.
And now my questions:
I want to share different folders to different network users, some are used together, some are only r/w for specified users.
-> why am I asked for a password (see above)? Is Mint trying to connect with the local account? If yes, it should work because of same name/ID/password. It would be best to authenticate like in SMB: only allowed users are able to read and write specified shares from FreeNAS nfs.
Where can I enter credentials in fstab for nfs share?
Do I need to set up security in the NFS share? krb5, krb5i or krb5p to get my plan working?
Thank you very much for your help and tips :)