diff --git a/source4/heimdal/lib/gssapi/krb5/creds.c b/source4/heimdal/lib/gssapi/krb5/creds.c index c9befe9d771..68cb766bc34 100644 --- a/source4/heimdal/lib/gssapi/krb5/creds.c +++ b/source4/heimdal/lib/gssapi/krb5/creds.c @@ -249,5 +249,6 @@ _gsskrb5_import_cred(OM_uint32 * minor_status, handle->ccache = id; handle->cred_flags = flags; + *cred_handle = (gss_cred_id_t)handle; return GSS_S_COMPLETE; }