mirror of
https://github.com/samba-team/samba.git
synced 2025-01-21 18:04:06 +03:00
s4:kdc: Also cannoicalize krbtgt principals when enforcing canonicalization
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit f1ec950aeb47283a504018bafa21f54c3282e70c)
This commit is contained in:
parent
34eb92a206
commit
06a0a75b16
@ -920,7 +920,7 @@ static krb5_error_code samba_kdc_message2entry(krb5_context context,
|
|||||||
if (ent_type == SAMBA_KDC_ENT_TYPE_KRBTGT) {
|
if (ent_type == SAMBA_KDC_ENT_TYPE_KRBTGT) {
|
||||||
p->is_krbtgt = true;
|
p->is_krbtgt = true;
|
||||||
|
|
||||||
if (flags & (SDB_F_CANON)) {
|
if (flags & (SDB_F_CANON|SDB_F_FORCE_CANON)) {
|
||||||
/*
|
/*
|
||||||
* When requested to do so, ensure that the
|
* When requested to do so, ensure that the
|
||||||
* both realm values in the principal are set
|
* both realm values in the principal are set
|
||||||
|
Loading…
x
Reference in New Issue
Block a user