1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.

Jeremy.
(This used to be commit 6f2b33f607)
This commit is contained in:
Jeremy Allison 2008-02-28 05:54:50 -08:00
parent 642f46dcf9
commit a763f4b79f

View File

@ -82,7 +82,12 @@ struct rpc_pipe_client {
};
/* Transport encryption state. */
enum smb_trans_enc_type { SMB_TRANS_ENC_NTLM, SMB_TRANS_ENC_GSS };
enum smb_trans_enc_type {
SMB_TRANS_ENC_NTLM
#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
, SMB_TRANS_ENC_GSS
#endif
};
#if defined(HAVE_GSSAPI) && defined(HAVE_KRB5)
struct smb_tran_enc_state_gss {