KerberosNFSv4: Difference between revisions

From DcSharedWiki
(create page)
 
(Add TableOfContents)
Line 1: Line 1:
How to install NFSv4 with Kerberos authentication on Debian unstable
__NOTOC__

How to install NFSv4 with Kerberos authentication on Debian



= Server =
= Server =

Revision as of 01:36, 18 January 2011

How to install NFSv4 with Kerberos authentication on Debian unstable


Server

Packages

  • nfs-kernel-server
apt-get install nfs-kernel-server

Configuration

  • Create needed directory
host:/root# mkdir /mnt/sdb1
host:/root# mkdir -p /export/Documents
  • /etc/exports
/export gss/krb5p(rw,async,no_subtree_check,crossmnt,fsid=0)
/export/Documents  gss/krb5p(rw,async,no_subtree_check)
  • /etc/fstab
# [...]
/dev/sdb1           /mnt/sdb1         ext3 defaults,acl 1       2
/mnt/sdb1/Documents /export/Documents none ro,bind      0       0
  • mount directory
host:/root# mount /mnt/sdb1
host:/root# mount /export/Documents
  • Export directories
host:/root# exportfs -rv
exporting gss/krb5p:/export/Documents
exporting gss/krb5p:/export


Client

TODO