1--- old/source3/libads/kerberos_keytab.c 2017-12-23 14:23:53.247467000 +0100
2+++ new/source3/libads/kerberos_keytab.c 2017-12-23 18:57:07.135340000 +0100
3@@ -32,8 +32,6 @@
4
5 #ifdef HAVE_KRB5
6
7-#ifdef HAVE_ADS
8-
9 /* This MAX_NAME_LEN is a constant defined in krb5.h */
10 #ifndef MAX_KEYTAB_NAME_LEN
11 #define MAX_KEYTAB_NAME_LEN 1100
12@@ -85,6 +83,8 @@
13 return ret;
14 }
15
16+#ifdef HAVE_ADS
17+
18 /**********************************************************************
19 Adds a single service principal, i.e. 'host' to the system keytab
20 ***********************************************************************/