From a763f4b79f56b09d633114aed776f168356741ae Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 28 Feb 2008 05:54:50 -0800 Subject: Don't define SMB_TRANS_ENC_GSS if we don't have KRB5. Jeremy. (This used to be commit 6f2b33f6072629be393f88d4450fa6631ef672f6) --- source3/include/client.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/source3/include/client.h b/source3/include/client.h index f8adf567de..d29a2e7341 100644 --- a/source3/include/client.h +++ b/source3/include/client.h @@ -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 { -- cgit