mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-02 20:30:26 -06:00
ipa-kdb: skip verification of PAC full checksum
MIT Kerberos KDC code will do verification of the PAC full checksum buffers, we don't need to process them. This change only applies to newer MIT Kerberos version which have this buffer type defined, hence using #ifdef to protect the use of the define. This should have no functional difference. Related: https://pagure.io/freeipa/issue/9371 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Julien Rische <jrische@redhat.com>
This commit is contained in:
1 parent
bd8fcd6f5b
commit
1b55e9b1cb
1 file changed
+4
-1
@@ -2367,7 +2367,10 @@ krb5_error_code ipadb_common_verify_pac(krb5_context context,
|
||||
for (i = 0; i < num_buffers; i++) {
|
||||
if (types[i] == KRB5_PAC_SERVER_CHECKSUM ||
|
||||
types[i] == KRB5_PAC_PRIVSVR_CHECKSUM ||
|
||||
types[i] == KRB5_PAC_CLIENT_INFO) {
|
||||
#ifdef KRB5_PAC_FULL_CHECKSUM
|
||||
types[i] == KRB5_PAC_FULL_CHECKSUM ||
|
||||
#endif
|
||||
types[i] == KRB5_PAC_CLIENT_INFO) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user