DS218 | Synology Inc.

Setup NFS Server On FreeBSD | Unixmen Network File System(NFS) is a network file system protocol developed by Sun Microsystems in 1984, allowing a user on a client computer to access files over a network on other networked Computer. 1. Setting up a FreeBSD NFS Server Holy shit is Kerberized NFS cancer! — Rudd-O.com in English The fight to get Kerberized NFS to work, even in the simplest of environments, is 100000% absurdly ridiculous. The stack is unbelievably complex -- NFS server, RPC GSSD, GSS proxy, interposer plugins, and the Kerberos 5 system itself. 11.10 - Setup for mounting kerberized nfs home directory Our home directories are exported via kerberized nfs, so the user needs a valid kerberos ticket to be able to mount its home. This setup works fine with our existing clients & server. Now we want to add some 11.10 client and thus set up ldap & kerberos together with pam_mount. Strictly speaking, we haven't been dealing with NFS at all up until this point. Once Kerberos and PAM are configured, NFS can be configured like normal according to nfsv4(4), exports(5), and mount_nfs(8). Unlike NFSv3, with Kerberized NFSv4 each user (not system) must have a Kerberos ticket in order to access the NFS file system.

11.3. Setting up a Kerberized NFS Server

Feb 25, 2016

The configuration files for the NFS export service are /etc/exports and /etc/sysconfig/nfs.In addition to these files, /etc/idmapd.conf is needed for the NFSv4 server configuration with kerberized NFS or if the clients cannot work with numeric user names.

NFS - Oracle ZFS Storage Appliance Administration Guide