summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-12-25 21:48:35 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-12-25 21:51:54 +0100
commit6174ece5d7584bdb90200ed4bef8a8a2b2f63b9d (patch)
tree4736180579bc26c766c3db45791c23011f98e88b /net-fs/samba/files
parentnet-misc/ssvnc: Remove old (diff)
downloadgentoo-6174ece5d7584bdb90200ed4bef8a8a2b2f63b9d.tar.gz
gentoo-6174ece5d7584bdb90200ed4bef8a8a2b2f63b9d.tar.bz2
gentoo-6174ece5d7584bdb90200ed4bef8a8a2b2f63b9d.zip
net-fs/samba: Bump to version 4.7.4
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-fs/samba/files')
-rw-r--r--net-fs/samba/files/samba-4.7.4-no_ads.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/net-fs/samba/files/samba-4.7.4-no_ads.patch b/net-fs/samba/files/samba-4.7.4-no_ads.patch
new file mode 100644
index 000000000000..d4c26a39a737
--- /dev/null
+++ b/net-fs/samba/files/samba-4.7.4-no_ads.patch
@@ -0,0 +1,22 @@
+https://lists.samba.org/archive/samba-technical/2017-December/124629.html
+
+--- a/source3/libads/kerberos_keytab.c
++++ b/source3/libads/kerberos_keytab.c
+@@ -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
+ ***********************************************************************/