mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
ipa-kdb: be compatible with krb5 1.19 when checking for server referral
Related: https://pagure.io/freeipa/issue/9164 Signed-off-by: Alexander Bokovoy <abokovoy@redhat.com> Reviewed-By: Florence Blanc-Renaud <flo@redhat.com>
This commit is contained in:
committed by
Florence Blanc-Renaud
parent
18bf495ce8
commit
3a706e8620
@@ -1570,6 +1570,14 @@ done:
|
||||
return kerr;
|
||||
}
|
||||
|
||||
/* For krb5 1.19, there is no KRB5_KDB_FLAG_REFERRAL_OK, emulate it
|
||||
* See krb5 commit a441fbe329ebbd7775eb5d4ccc4a05eef370f08b */
|
||||
#ifndef KRB5_KDB_FLAG_REFERRAL_OK
|
||||
#ifdef KRB5_KDB_FLAG_CANONICALIZE
|
||||
#define KRB5_KDB_FLAG_REFERRAL_OK KRB5_KDB_FLAG_CANONICALIZE
|
||||
#endif
|
||||
#endif
|
||||
|
||||
static krb5_error_code dbget_alias(krb5_context kcontext,
|
||||
struct ipadb_context *ipactx,
|
||||
krb5_const_principal search_for,
|
||||
|
||||
Reference in New Issue
Block a user