diff options
author | Doug Nazar <nazard.michi@gmail.com> | 2010-07-19 10:48:34 -0400 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2010-07-19 10:48:34 -0400 |
commit | eafc5a8873b09482c71313f425080cce2031010a (patch) | |
tree | 06b0809e903e7afdbeae1c9080527510c1fc9edb /utils/gssd/context_mit.c | |
parent | 0bd7e91cea26bcfc5581290e4cdd87870da29b9e (diff) | |
download | nfs-utils-eafc5a8873b09482c71313f425080cce2031010a.tar.gz nfs-utils-eafc5a8873b09482c71313f425080cce2031010a.tar.xz nfs-utils-eafc5a8873b09482c71313f425080cce2031010a.zip |
gssd: Fix endtime issue
Commit 4c5ff6d4 removed the setting of endtime for a few contexts by
accident.
Now to figure out why I get stale handles on submounts.
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/gssd/context_mit.c')
-rw-r--r-- | utils/gssd/context_mit.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/gssd/context_mit.c b/utils/gssd/context_mit.c index f9cbb02..e6db9cb 100644 --- a/utils/gssd/context_mit.c +++ b/utils/gssd/context_mit.c @@ -191,6 +191,8 @@ serialize_krb5_ctx(gss_ctx_id_t ctx, gss_buffer_desc *buf, int32_t *endtime) if (WRITE_BYTES(&p, end, kctx->signalg)) goto out_err; if (WRITE_BYTES(&p, end, kctx->sealalg)) goto out_err; if (WRITE_BYTES(&p, end, kctx->endtime)) goto out_err; + if (endtime) + *endtime = kctx->endtime; word_seq_send = kctx->seq_send; if (WRITE_BYTES(&p, end, word_seq_send)) goto out_err; if (write_oid(&p, end, kctx->mech_used)) goto out_err; |