aboutsummaryrefslogtreecommitdiffstats
path: root/main/samba/heimdal-1.5-api.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-04-04 11:04:48 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-04-04 17:12:12 +0000
commitfe0ba101290309b6f8685070054d089d6f0c4b28 (patch)
tree18269f05248cbb8a4181a411e70fa19f4562176c /main/samba/heimdal-1.5-api.patch
parent28c7fb5e58f00e8cc18fbbd351b369343a511657 (diff)
downloadaports-fe0ba101290309b6f8685070054d089d6f0c4b28.tar.bz2
aports-fe0ba101290309b6f8685070054d089d6f0c4b28.tar.xz
main/samba: upgrade to 4.2
Diffstat (limited to 'main/samba/heimdal-1.5-api.patch')
-rw-r--r--main/samba/heimdal-1.5-api.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/main/samba/heimdal-1.5-api.patch b/main/samba/heimdal-1.5-api.patch
new file mode 100644
index 0000000000..20d421e0da
--- /dev/null
+++ b/main/samba/heimdal-1.5-api.patch
@@ -0,0 +1,23 @@
+
+this was triggered due to this upstream change:
+https://git.samba.org/?p=samba.git;a=commit;h=83fbdc81cdfe6c018bb97d2d482ca09389b2c7af
+
+heimdal 1.5 changed the api:
+https://github.com/heimdal/heimdal/commit/c757eb7fb04a9b0ca883ddb72c1bc75bf5d814f3
+
+proper fix means the configure script should check which to use
+
+--- ./source4/kdc/kdc.c.orig
++++ ./source4/kdc/kdc.c
+@@ -967,9 +967,9 @@
+ * The old behavior in the _kdc_get_preferred_key()
+ * function is use_strongest_server_key=TRUE.
+ */
+- kdc->config->as_use_strongest_session_key = false;
++ kdc->config->tgt_use_strongest_session_key = false;
+ kdc->config->preauth_use_strongest_session_key = false;
+- kdc->config->tgs_use_strongest_session_key = false;
++ kdc->config->svc_use_strongest_session_key = false;
+ kdc->config->use_strongest_server_key = true;
+
+ /* Register hdb-samba4 hooks for use as a keytab */