mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2026-11-03 12:48:53 -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 <frenaud@redhat.com>
This commit is contained in:
1 parent
325a13196b
commit
f2b821abca
1 file changed
+8
@@ -1539,6 +1539,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