]> git.ipfire.org Git - thirdparty/samba.git/commit
s4:kdc: strictly have 2 16-bit parts in krbtgt kvnos
authorStefan Metzmacher <metze@samba.org>
Wed, 16 Feb 2022 13:11:10 +0000 (14:11 +0100)
committerJule Anger <janger@samba.org>
Tue, 29 Mar 2022 10:32:05 +0000 (10:32 +0000)
commit56018a50e76521f287ac93671f18f1d741075507
treec210dd23ff7d08f7bdb32e01aa5c4a012137bf7a
parent50df8eb592161e1a012ce483564c45e64e2203cd
s4:kdc: strictly have 2 16-bit parts in krbtgt kvnos

Even if the msDS-KeyVersionNumber of the main krbtgt
account if larger than 65535, we need to have
the 16 upper bits all zero in order to avoid
mixing the keys with an RODC.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14951

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(similar to commit ab0946a75d51b8f4826d98c61c3ad503615009fe)

Autobuild-User(v4-14-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-14-test): Tue Mar 29 10:32:05 UTC 2022 on sn-devel-184
source4/kdc/db-glue.c