summaryrefslogtreecommitdiffstats
path: root/bind-9.11-rh1484451.patch
diff options
context:
space:
mode:
authorPetr Menšík <pemensik@redhat.com>2017-09-12 17:48:06 +0200
committerPetr Menšík <pemensik@redhat.com>2017-09-13 17:59:46 +0200
commit1f8ab5c2532552e978e22f5bdbb4f9cdfa02c00f (patch)
tree28b8d877a94a5cca3908b1f69f0dbda858ae9a23 /bind-9.11-rh1484451.patch
parent0b15f32821893d5b9a819de25e9dcb12eb834225 (diff)
downloadbind-1f8ab5c2532552e978e22f5bdbb4f9cdfa02c00f.tar.gz
bind-1f8ab5c2532552e978e22f5bdbb4f9cdfa02c00f.tar.xz
bind-1f8ab5c2532552e978e22f5bdbb4f9cdfa02c00f.zip
Fix nsupdate GSSAPI auth against AD server (#1484451)
Diffstat (limited to 'bind-9.11-rh1484451.patch')
-rw-r--r--bind-9.11-rh1484451.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/bind-9.11-rh1484451.patch b/bind-9.11-rh1484451.patch
new file mode 100644
index 0000000..c2596b2
--- /dev/null
+++ b/bind-9.11-rh1484451.patch
@@ -0,0 +1,27 @@
+From a8a20462b516b0cc39e9b1fb1a8dd514eb1aed29 Mon Sep 17 00:00:00 2001
+From: Mark Andrews <marka@isc.org>
+Date: Fri, 1 Sep 2017 11:17:59 +1000
+Subject: [PATCH] 4697. [bug] Restore workaround for Microsoft
+ Windows TSIG hash computation bug. [RT #45854]
+
+---
+ lib/dns/rdataset.c | 3 +++
+ 1 file changed, 3 insertions(+)
+
+diff --git a/lib/dns/rdataset.c b/lib/dns/rdataset.c
+index 1386840..e563963 100644
+--- a/lib/dns/rdataset.c
++++ b/lib/dns/rdataset.c
+@@ -466,6 +466,9 @@ towiresorted(dns_rdataset_t *rdataset, const dns_name_t *owner_name,
+ dns_name_copy(owner_name, name, NULL);
+ dns_rdataset_getownercase(rdataset, name);
+
++ if ((owner_name->attributes & DNS_NAMEATTR_NOCOMPRESS) != 0)
++ name->attributes |= DNS_NAMEATTR_NOCOMPRESS;
++
+ do {
+ /*
+ * Copy out the name, type, class, ttl.
+--
+2.9.5
+