
Adds oid values to the gss_api mechanism structures.
On NFSV4 server side, these are required as part of the security triple(oid,qop,service)
information being sent in the response of the SECINFO operation.

Signed-off-by: Andy Adamson <andros@citi.umich.edu>
Signed-off-by: Usha Ketineni <uketinen@us.ibm.com>
---

index 129e2bd..1bc4476 100644
---

---

 linux-2.6.18-rc5-andros/net/sunrpc/auth_gss/gss_krb5_mech.c  |    1 +
 linux-2.6.18-rc5-andros/net/sunrpc/auth_gss/gss_spkm3_mech.c |    1 +
 2 files changed, 2 insertions(+)

diff -puN net/sunrpc/auth_gss/gss_krb5_mech.c~rpc-adds-gss-krb5-and-spkm3-oid-values net/sunrpc/auth_gss/gss_krb5_mech.c
--- linux-2.6.18-rc5/net/sunrpc/auth_gss/gss_krb5_mech.c~rpc-adds-gss-krb5-and-spkm3-oid-values	2006-10-11 17:36:44.000000000 -0400
+++ linux-2.6.18-rc5-andros/net/sunrpc/auth_gss/gss_krb5_mech.c	2006-10-11 17:36:44.000000000 -0400
@@ -223,6 +223,7 @@ static struct pf_desc gss_kerberos_pfs[]
 static struct gss_api_mech gss_kerberos_mech = {
 	.gm_name	= "krb5",
 	.gm_owner	= THIS_MODULE,
+	.gm_oid		= {9, (void *)"\x2a\x86\x48\x86\xf7\x12\x01\x02\x02"},
 	.gm_ops		= &gss_kerberos_ops,
 	.gm_pf_num	= ARRAY_SIZE(gss_kerberos_pfs),
 	.gm_pfs		= gss_kerberos_pfs,
diff -puN net/sunrpc/auth_gss/gss_spkm3_mech.c~rpc-adds-gss-krb5-and-spkm3-oid-values net/sunrpc/auth_gss/gss_spkm3_mech.c
--- linux-2.6.18-rc5/net/sunrpc/auth_gss/gss_spkm3_mech.c~rpc-adds-gss-krb5-and-spkm3-oid-values	2006-10-11 17:36:44.000000000 -0400
+++ linux-2.6.18-rc5-andros/net/sunrpc/auth_gss/gss_spkm3_mech.c	2006-10-11 17:36:44.000000000 -0400
@@ -215,6 +215,7 @@ static struct pf_desc gss_spkm3_pfs[] = 
 static struct gss_api_mech gss_spkm3_mech = {
 	.gm_name	= "spkm3",
 	.gm_owner	= THIS_MODULE,
+	.gm_oid		= {7, "\053\006\001\005\005\001\003"},
 	.gm_ops		= &gss_spkm3_ops,
 	.gm_pf_num	= ARRAY_SIZE(gss_spkm3_pfs),
 	.gm_pfs		= gss_spkm3_pfs,
_
