s3: Add ccache use to cli_session_setup_ntlmssp
[nivanova/samba-autobuild/.git] / source3 / include / client.h
index 82d94b055f6c36c2b5352a56a9e258ea713ad868..c74c74509aa77ba236a8401bfdef4012a2f7631f 100644 (file)
@@ -56,7 +56,7 @@ struct cli_pipe_auth_data {
 
        union {
                struct schannel_state *schannel_auth;
-               NTLMSSP_STATE *ntlmssp_state;
+               struct ntlmssp_state *ntlmssp_state;
                struct kerberos_auth_struct *kerberos_auth;
        } a_u;
 };
@@ -172,7 +172,7 @@ struct smb_trans_enc_state {
         uint16 enc_ctx_num;
         bool enc_on;
         union {
-                NTLMSSP_STATE *ntlmssp_state;
+                struct ntlmssp_state *ntlmssp_state;
 #if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
                 struct smb_tran_enc_state_gss *gss_state;
 #endif
@@ -266,6 +266,7 @@ struct cli_state {
        bool use_kerberos;
        bool fallback_after_kerberos;
        bool use_spnego;
+       bool use_ccache;
        bool got_kerberos_mechanism; /* Server supports krb5 in SPNEGO. */
 
        bool use_oplocks; /* should we use oplocks? */