about summary refs log tree commit diff
path: root/pkgs/servers/samba/4.x-heimdal-compat.patch
blob: 35f01e4001ec9c9f27f5fc1949a11e8fcd94c343 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 */