diff options
author | Jeremy Allison <jra@samba.org> | 2007-03-27 00:50:53 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:18:54 -0500 |
commit | 8b63654c2e63448cc21505d7996e1a4805e391df (patch) | |
tree | 45d6b32ce71d44d0b0e6744751b9c9ac1d73f249 /source3/include/client.h | |
parent | 9d34ee1c8b2977986518f3720ae0e98c487cda47 (diff) | |
download | samba-8b63654c2e63448cc21505d7996e1a4805e391df.tar.gz samba-8b63654c2e63448cc21505d7996e1a4805e391df.tar.xz samba-8b63654c2e63448cc21505d7996e1a4805e391df.zip |
r21969: Start working on the gss-side of the server negotiation.
Jeremy.
(This used to be commit fbc569b530104679e47fe743963eb0c4384de6ae)
Diffstat (limited to 'source3/include/client.h')
-rw-r--r-- | source3/include/client.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/source3/include/client.h b/source3/include/client.h index 817ab0d5402..3185f05ac19 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -81,13 +81,20 @@ struct rpc_pipe_client { /* Transport encryption state. */ enum smb_trans_enc_type { SMB_TRANS_ENC_NTLM, SMB_TRANS_ENC_GSS }; +#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5) +struct smb_tran_enc_state_gss { + gss_ctx_id_t gss_ctx; + gss_cred_id_t creds; +}; +#endif + struct smb_trans_enc_state { enum smb_trans_enc_type smb_enc_type; BOOL enc_on; union { NTLMSSP_STATE *ntlmssp_state; #if defined(HAVE_GSSAPI) && defined(HAVE_KRB5) - gss_ctx_id_t context_handle; + struct smb_tran_enc_state_gss *gss_state; #endif } s; }; |