summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/clikrb5.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c
index 955a93285c..1fc400edb0 100644
--- a/source3/libsmb/clikrb5.c
+++ b/source3/libsmb/clikrb5.c
@@ -20,10 +20,6 @@
#include "includes.h"
-#ifndef ENCTYPE_ARCFOUR_HMAC
-#define ENCTYPE_ARCFOUR_HMAC 0x0017
-#endif
-
#ifdef HAVE_KRB5
/*
we can't use krb5_mk_req because w2k wants the service to be in a particular format
@@ -98,7 +94,10 @@ DATA_BLOB krb5_get_ticket(char *principal)
krb5_context context;
krb5_auth_context auth_context = NULL;
DATA_BLOB ret;
- krb5_enctype enc_types[] = {ENCTYPE_ARCFOUR_HMAC,
+ krb5_enctype enc_types[] = {
+#ifdef ENCTYPE_ARCFOUR_HMAC
+ ENCTYPE_ARCFOUR_HMAC,
+#endif
ENCTYPE_DES_CBC_MD5,
ENCTYPE_NULL};