(acquire_initiator_cred): GSS_CF_DESTROY_CRED_ON_RELEASE on created credentials.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@16281 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -193,6 +193,7 @@ static OM_uint32 acquire_initiator_cred
|
|||||||
if (kret)
|
if (kret)
|
||||||
goto end;
|
goto end;
|
||||||
handle->lifetime = cred.times.endtime;
|
handle->lifetime = cred.times.endtime;
|
||||||
|
handle->cred_flags |= GSS_CF_DESTROY_CRED_ON_RELEASE;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
ret = _gssapi_krb5_ccache_lifetime(minor_status,
|
ret = _gssapi_krb5_ccache_lifetime(minor_status,
|
||||||
|
@@ -193,6 +193,7 @@ static OM_uint32 acquire_initiator_cred
|
|||||||
if (kret)
|
if (kret)
|
||||||
goto end;
|
goto end;
|
||||||
handle->lifetime = cred.times.endtime;
|
handle->lifetime = cred.times.endtime;
|
||||||
|
handle->cred_flags |= GSS_CF_DESTROY_CRED_ON_RELEASE;
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
ret = _gssapi_krb5_ccache_lifetime(minor_status,
|
ret = _gssapi_krb5_ccache_lifetime(minor_status,
|
||||||
|
Reference in New Issue
Block a user