nixpkgs/pkgs/servers/samba/4.x-heimdal-compat.patch
William A. Kennington III 936fdc7b68 samba4: 4.1.17 -> 4.2.0 YOLO
2015-03-04 17:17:26 -08:00

17 lines
686 B
Diff

diff --git a/source4/kdc/kdc.c b/source4/kdc/kdc.c
index bb476e1..0a407a4 100644
--- a/source4/kdc/kdc.c
+++ b/source4/kdc/kdc.c
@@ -967,9 +967,9 @@ static void kdc_task_init(struct task_server *task)
* 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->svc_use_strongest_session_key = false;
kdc->config->preauth_use_strongest_session_key = false;
- kdc->config->tgs_use_strongest_session_key = false;
kdc->config->use_strongest_server_key = true;
/* Register hdb-samba4 hooks for use as a keytab */