]> git.pld-linux.org Git - packages/samba.git/blame - samba-heimdal.patch
- ldb 1.5.6
[packages/samba.git] / samba-heimdal.patch
CommitLineData
5a591c79
JB
1--- samba-4.5.6/source4/kdc/kdc-heimdal.c.orig 2017-03-13 17:48:51.591429490 +0100
2+++ samba-4.5.6/source4/kdc/kdc-heimdal.c 2017-03-13 19:10:54.528039946 +0100
3@@ -373,9 +373,9 @@
295b7a55
AM
4 * The old behavior in the _kdc_get_preferred_key()
5 * function is use_strongest_server_key=TRUE.
6 */
5a591c79
JB
7- kdc_config->as_use_strongest_session_key = false;
8+ kdc_config->tgt_use_strongest_session_key = false;
9 kdc_config->preauth_use_strongest_session_key = false;
10- kdc_config->tgs_use_strongest_session_key = false;
11+ kdc_config->svc_use_strongest_session_key = false;
12 kdc_config->use_strongest_server_key = true;
295b7a55
AM
13
14 /* Register hdb-samba4 hooks for use as a keytab */
5a591c79
JB
15--- samba-4.5.6/source4/kdc/hdb-samba4-plugin.c.orig 2016-08-11 09:51:05.000000000 +0200
16+++ samba-4.5.6/source4/kdc/hdb-samba4-plugin.c 2017-03-13 20:50:38.124638290 +0100
17@@ -72,7 +72,7 @@
18 return EINVAL;
19 }
20
21-#if (HDB_INTERFACE_VERSION != 8 && HDB_INTERFACE_VERSION != 7)
22+#if (HDB_INTERFACE_VERSION < 8 || HDB_INTERFACE_VERSION > 9)
23 #error "Unsupported Heimdal HDB version"
24 #endif
25
26--- samba-4.5.6/source4/kdc/sdb_to_hdb.c.orig 2016-08-11 09:51:05.000000000 +0200
27+++ samba-4.5.6/source4/kdc/sdb_to_hdb.c 2017-03-13 21:20:28.297951181 +0100
28@@ -51,7 +51,11 @@
29 h->allow_kerberos4 = s->allow_kerberos4;
30 h->allow_digest = s->allow_digest;
31 h->locked_out = s->locked_out;
32+#if HDB_INTERFACE_VERSION < 9
33 h->_unused18 = s->_unused18;
34+#else
35+ h->require_pwchange = s->_unused18;
36+#endif
37 h->_unused19 = s->_unused19;
38 h->_unused20 = s->_unused20;
39 h->_unused21 = s->_unused21;
This page took 0.131746 seconds and 4 git commands to generate.