summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2017-09-22 10:10:02 +1200
committerJoseph Sutton <jsutton@samba.org>2022-01-19 20:50:35 +0000
commit28701dc2d128f7fdfe8a4fa73584d1289918038a (patch)
treec9500d318b8c92bcac981b8544dc57c8908d23f4 /source4
parentc7bd176f4cb5d058337b64819858eca2764bd88e (diff)
downloadsamba-28701dc2d128f7fdfe8a4fa73584d1289918038a.tar.gz
s4:kdc: cope with upstream rename of configuration parameters.
This copes with the upstream commit: commit c757eb7fb04a9b0ca883ddb72c1bc75bf5d814f3 Author: Nicolas Williams <nico@cryptonector.com> Date: Fri Nov 25 17:21:04 2011 -0600 Rename and fix as/tgs-use-strongest-key config parameters Different ticket session key enctype selection options should distinguish between target principal type (krbtgt vs. not), not between KDC request types. NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN! Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> [abartlet@samba.org Researched and updated the commit message] Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/kdc/kdc-heimdal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/kdc/kdc-heimdal.c b/source4/kdc/kdc-heimdal.c
index f3bab824655..be4606a7abb 100644
--- a/source4/kdc/kdc-heimdal.c
+++ b/source4/kdc/kdc-heimdal.c
@@ -403,9 +403,9 @@ static void kdc_post_fork(struct task_server *task, struct process_details *pd)
* 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 = true;
- kdc_config->tgs_use_strongest_session_key = false;
+ kdc_config->svc_use_strongest_session_key = false;
kdc_config->use_strongest_server_key = true;
kdc_config->autodetect_referrals = false;