diff options
author | Andrew Bartlett <abartlet@samba.org> | 2006-02-13 00:08:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:51:55 -0500 |
commit | 26421fb2dc995c4fc10195f451c4d7dce07034bf (patch) | |
tree | 6d1f668aa31cc85927e1e00c88419dac7ee64b28 /source4/heimdal/lib/gssapi/gssapi_locl.h | |
parent | e9815c38dddbb79c0cd47c3b81eae2cec850a760 (diff) | |
download | samba-26421fb2dc995c4fc10195f451c4d7dce07034bf.tar.gz samba-26421fb2dc995c4fc10195f451c4d7dce07034bf.tar.bz2 samba-26421fb2dc995c4fc10195f451c4d7dce07034bf.zip |
r13481: As far as I can tell, my changes in -r 12863 were dangerously untested.
We do need the gsskrb5_get_initiator_subkey() routine. But we should
ensure that we do always get a valid key, to prevent any segfaults.
Without this code, we get a different session key compared with
Win2k3, and so kerberised smb signing fails.
Andrew Bartlett
(This used to be commit cfd0df16b74b0432670b33c7bf26316b741b1bde)
Diffstat (limited to 'source4/heimdal/lib/gssapi/gssapi_locl.h')
-rw-r--r-- | source4/heimdal/lib/gssapi/gssapi_locl.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/heimdal/lib/gssapi/gssapi_locl.h b/source4/heimdal/lib/gssapi/gssapi_locl.h index 6fd8b0a4ac..bd5d0db2b5 100644 --- a/source4/heimdal/lib/gssapi/gssapi_locl.h +++ b/source4/heimdal/lib/gssapi/gssapi_locl.h @@ -226,6 +226,9 @@ gss_verify_mic_internal(OM_uint32 * minor_status, gss_qop_t * qop_state, char * type); +OM_uint32 +gss_krb5_get_subkey(const gss_ctx_id_t context_handle, + krb5_keyblock **key); krb5_error_code gss_address_to_krb5addr(OM_uint32 gss_addr_type, |