X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=testing%2Fnfsv4.mdwn;h=5d59127529aafa76cc451765455587aff71f2496;hb=f6e144d331551ac5724690485bb5d33a711862d6;hp=97ef6d01a5c63719f444af3e9ab0ef1e3650ba91;hpb=72bf5a5564cb7a53a94932fbdb7feec6de5a6d1b;p=devwiki.git diff --git a/testing/nfsv4.mdwn b/testing/nfsv4.mdwn index 97ef6d0..5d59127 100644 --- a/testing/nfsv4.mdwn +++ b/testing/nfsv4.mdwn @@ -2,7 +2,9 @@ The steps below have been tested on Debian Squeeze using MIT 1.10 (from testing), as described in the [[Debian guide|configuringdebian]]. -## Install NFSv4 using standard Kerberos authentication +## Install NFSv4 client/server and export a directory using standard Kerberos authentication +Make sure you can mount the filesystem with something like: + # mount -t nfs4 -o sec=krb5 moonshot.ics.muni.cz:/ /mnt ## Remove the dependency on libgssglue @@ -16,4 +18,32 @@ The steps below have been tested on Debian Squeeze using MIT 1.10 (from testing) # apt-get install -t testing linux-image-amd64 # reboot +## Build nfs-utils + $ git clone nfs-utils + $ cd nfs-utils + $ git checkout moonshot + $ ./autogen.sh + $ ./configure GSSGLUE_CFLAGS=-I. GSSGLUE_LIBS=-lgssapi_krb5 + $ make + # utils/gssd/gssd -n + # utils/gssd/svcgssd -n + +## Configure identity mapping +Edit /etc/idmapd.conf specifying: + + Domain = ics.muni.cz + .... + + [Translation] + Method = static + + [Static] + kouril@ics.muni.cz = kouril + +Restart the idmapd + +## Mount the exported directory: +Standard mount and other tools should be enough to + + # mount -t nfs4 -o sec=krb5 moonshot.ics.muni.cz:/ /mnt