nixpkgs/pkgs/servers/samba/4.x-heimdal-compat.patch

17 lines
686 B
Diff
Raw Normal View History

2015-03-04 21:46:20 +00:00
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 */