From c68c0315bba8d38da9056e661cfa8d5bd4a2fec2 Mon Sep 17 00:00:00 2001 From: MilhouseVH Date: Wed, 27 Dec 2017 14:44:24 +0000 Subject: [PATCH] samba: add patch to fix compilation with disabled ADS See: https://lists.samba.org/archive/samba-technical/2017-December/124629.html --- ...ion-of-samba-4.7.4-with-disabled-ADS.patch | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 packages/network/samba/patches/samba-999-fix-compilation-of-samba-4.7.4-with-disabled-ADS.patch diff --git a/packages/network/samba/patches/samba-999-fix-compilation-of-samba-4.7.4-with-disabled-ADS.patch b/packages/network/samba/patches/samba-999-fix-compilation-of-samba-4.7.4-with-disabled-ADS.patch new file mode 100644 index 0000000000..6e956bb470 --- /dev/null +++ b/packages/network/samba/patches/samba-999-fix-compilation-of-samba-4.7.4-with-disabled-ADS.patch @@ -0,0 +1,20 @@ +--- a/source3/libads/kerberos_keytab.c.orig 2017-12-23 14:23:53.247467000 +0100 ++++ b/source3/libads/kerberos_keytab.c 2017-12-23 18:57:07.135340000 +0100 +@@ -32,8 +32,6 @@ + + #ifdef HAVE_KRB5 + +-#ifdef HAVE_ADS +- + /* This MAX_NAME_LEN is a constant defined in krb5.h */ + #ifndef MAX_KEYTAB_NAME_LEN + #define MAX_KEYTAB_NAME_LEN 1100 +@@ -85,6 +83,8 @@ + return ret; + } + ++#ifdef HAVE_ADS ++ + /********************************************************************** + Adds a single service principal, i.e. 'host' to the system keytab + ***********************************************************************/