diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-04-08 14:09:58 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2010-05-14 15:09:17 -0400 |
commit | 683ac6656cb05b6e83593770ffc049eee4a4d119 (patch) | |
tree | 531c849ad7b20ade79e69c8daa446d99722958ae /include/linux/sunrpc | |
parent | 47d84807762966c3611c38adecec6ea703ddda7a (diff) |
gss_krb5: Add upcall info indicating supported kerberos enctypes
The text based upcall now indicates which Kerberos encryption types are
supported by the kernel rpcsecgss code. This is used by gssd to
determine which encryption types it should attempt to negotiate
when creating a context with a server.
The server principal's database and keytab encryption types are
what limits what it should negotiate. Therefore, its keytab
should be created with only the enctypes listed by this file.
Currently we support des-cbc-crc, des-cbc-md4 and des-cbc-md5
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/gss_api.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h index 03f33330ece2..b22d7f189ceb 100644 --- a/include/linux/sunrpc/gss_api.h +++ b/include/linux/sunrpc/gss_api.h | |||
@@ -80,6 +80,8 @@ struct gss_api_mech { | |||
80 | /* pseudoflavors supported by this mechanism: */ | 80 | /* pseudoflavors supported by this mechanism: */ |
81 | int gm_pf_num; | 81 | int gm_pf_num; |
82 | struct pf_desc * gm_pfs; | 82 | struct pf_desc * gm_pfs; |
83 | /* Should the following be a callback operation instead? */ | ||
84 | const char *gm_upcall_enctypes; | ||
83 | }; | 85 | }; |
84 | 86 | ||
85 | /* and must provide the following operations: */ | 87 | /* and must provide the following operations: */ |