summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2012-03-12 15:48:50 -0400
committerSteve Dickson <steved@redhat.com>2012-03-12 15:56:07 -0400
commit40632c9b03ff30ce3602e2c84bc59c228c591808 (patch)
tree307d58cc020413cfe3993490c82a91c7ae427681
parent24cab593077f867e087e00d54113a57a4cd6268a (diff)
downloadnfs-utils-40632c9b03ff30ce3602e2c84bc59c228c591808.tar.gz
nfs-utils-40632c9b03ff30ce3602e2c84bc59c228c591808.tar.xz
nfs-utils-40632c9b03ff30ce3602e2c84bc59c228c591808.zip
Kill SPKM3: Remove spkm3 support from nfs.mount
Signed-off-by: Simo Sorce <simo@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--utils/mount/nfs.man7
-rw-r--r--utils/mount/nfs_mount.h3
-rw-r--r--utils/mount/nfsmount.c6
3 files changed, 2 insertions, 14 deletions
diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
index 2ad92d1..810bfc0 100644
--- a/utils/mount/nfs.man
+++ b/utils/mount/nfs.man
@@ -375,11 +375,8 @@ Valid security flavors are
.BR krb5p ,
.BR lkey ,
.BR lkeyi ,
-.BR lkeyp ,
-.BR spkm ,
-.BR spkmi ,
and
-.BR spkmp .
+.BR lkeyp ,
Refer to the SECURITY CONSIDERATIONS section for details.
.TP 1.5i
.BR sharecache " / " nosharecache
@@ -1416,7 +1413,7 @@ security flavor encrypts every RPC request
to prevent data exposure during network transit; however,
expect some performance impact
when using integrity checking or encryption.
-Similar support for other forms of cryptographic security (such as lipkey and SPKM3)
+Similar support for other forms of cryptographic security (such as lipkey)
is also available.
.P
The NFS version 4 protocol allows
diff --git a/utils/mount/nfs_mount.h b/utils/mount/nfs_mount.h
index 2becfb1..ec30c9b 100644
--- a/utils/mount/nfs_mount.h
+++ b/utils/mount/nfs_mount.h
@@ -75,9 +75,6 @@ struct nfs_mount_data {
#define AUTH_GSS_LKEY 390006
#define AUTH_GSS_LKEYI 390007
#define AUTH_GSS_LKEYP 390008
-#define AUTH_GSS_SPKM 390009
-#define AUTH_GSS_SPKMI 390010
-#define AUTH_GSS_SPKMP 390011
#endif
int nfsmount(const char *, const char *, int , char **, int, int);
diff --git a/utils/mount/nfsmount.c b/utils/mount/nfsmount.c
index 1298fe4..7bd1c97 100644
--- a/utils/mount/nfsmount.c
+++ b/utils/mount/nfsmount.c
@@ -300,12 +300,6 @@ parse_options(char *old_opts, struct nfs_mount_data *data,
data->pseudoflavor = AUTH_GSS_LKEYI;
else if (!strcmp(secflavor, "lipkey-p"))
data->pseudoflavor = AUTH_GSS_LKEYP;
- else if (!strcmp(secflavor, "spkm3"))
- data->pseudoflavor = AUTH_GSS_SPKM;
- else if (!strcmp(secflavor, "spkm3i"))
- data->pseudoflavor = AUTH_GSS_SPKMI;
- else if (!strcmp(secflavor, "spkm3p"))
- data->pseudoflavor = AUTH_GSS_SPKMP;
else if (sloppy)
continue;
else {