diff options
author | Lukas Hejtmanek <xhejtman@ics.muni.cz> | 2008-07-15 10:07:45 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2008-07-15 10:07:45 -0400 |
commit | 1e1c7be98749fff054beec4bf67b436b58f6edac (patch) | |
tree | 28ee55efacdd07dee888f7317c421135e724cb0f /utils/gssd/gssd.h | |
parent | b13f13b0f2ebdadc47eef8bf3fd4eb076e144fda (diff) | |
download | nfs-utils-1e1c7be98749fff054beec4bf67b436b58f6edac.tar.gz nfs-utils-1e1c7be98749fff054beec4bf67b436b58f6edac.tar.xz nfs-utils-1e1c7be98749fff054beec4bf67b436b58f6edac.zip |
The default expiration of kernel gss contexts is the expiration
of the Kerberos ticket used in its creation. (For contexts
created using the Kerberos mechanism.) Thus kdestroy has
no effect in nullifying the kernel context.
This patch adds -t <timeout> option to rpc.gssd so that the client's
administrator may specify a timeout for expiration of contexts in kernel.
After this timeout, rpc.gssd is consulted to create a new context.
By default, timeout is 0 (i.e., no timeout at all) which follows the
previous behavior.
Signed-off-by: Lukas Hejtmanek <xhejtman@ics.muni.cz>
Signed-off-by: Kevin Coffman <kwc@citi.umich.edu>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/gssd.h')
-rw-r--r-- | utils/gssd/gssd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/gssd/gssd.h b/utils/gssd/gssd.h index 0f9f428..aef14cf 100644 --- a/utils/gssd/gssd.h +++ b/utils/gssd/gssd.h @@ -65,6 +65,7 @@ extern char keytabfile[PATH_MAX]; extern char *ccachesearch[]; extern int use_memcache; extern int root_uses_machine_creds; +extern unsigned int context_timeout; TAILQ_HEAD(clnt_list_head, clnt_info) clnt_list; |