git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735235e
)
Don't define SMB_TRANS_ENC_GSS if we don't have KRB5.
author
Jeremy Allison
<jra@samba.org>
Thu, 28 Feb 2008 13:54:50 +0000
(
05:54
-0800)
committer
Jeremy Allison
<jra@samba.org>
Thu, 28 Feb 2008 13:54:50 +0000
(
05:54
-0800)
Jeremy.
source/include/client.h
patch
|
blob
|
history
diff --git
a/source/include/client.h
b/source/include/client.h
index f8adf567de904e5edc65db31d4064d837b8d1504..d29a2e73413a85000c0f2bd4239637f0a35ff3b7 100644
(file)
--- a/
source/include/client.h
+++ b/
source/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 {