Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP5:Update
sssd.32059
0004-BUILD-Accept-krb5-1.20-for-building-the-PA...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0004-BUILD-Accept-krb5-1.20-for-building-the-PAC-plugin.patch of Package sssd.32059
From 68e242af015477ad712ffdac8b3c0fddd1ef4774 Mon Sep 17 00:00:00 2001 From: Sumit Bose <sbose@redhat.com> Date: Fri, 19 Aug 2022 13:53:35 +0200 Subject: [PATCH] BUILD: Accept krb5 1.20 for building the PAC plugin MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Additionally following MIT Kerberos the 'name' member of struct krb5plugin_authdata_client_ftable_v0 is made 'const' and the related code to set the name is simplified. Resolves: https://github.com/SSSD/sssd/issues/6306 Reviewed-by: Alexey Tikhonov <atikhono@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com> --- src/external/pac_responder.m4 | 3 ++- src/sss_client/krb5_authdata_int.h | 2 +- src/sss_client/sssd_pac.c | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/external/pac_responder.m4 b/src/external/pac_responder.m4 index 26c6bd5bd..3cbe3c9cf 100644 --- a/src/external/pac_responder.m4 +++ b/src/external/pac_responder.m4 @@ -21,7 +21,8 @@ then Kerberos\ 5\ release\ 1.16* | \ Kerberos\ 5\ release\ 1.17* | \ Kerberos\ 5\ release\ 1.18* | \ - Kerberos\ 5\ release\ 1.19*) + Kerberos\ 5\ release\ 1.19* | \ + Kerberos\ 5\ release\ 1.20*) krb5_version_ok=yes AC_MSG_RESULT([yes]) ;; diff --git a/src/sss_client/krb5_authdata_int.h b/src/sss_client/krb5_authdata_int.h index 5e0cf5e02..bafff7169 100644 --- a/src/sss_client/krb5_authdata_int.h +++ b/src/sss_client/krb5_authdata_int.h @@ -160,7 +160,7 @@ typedef krb5_error_code void *dst_request_context); typedef struct krb5plugin_authdata_client_ftable_v0 { - char *name; + const char *name; krb5_authdatatype *ad_type_list; authdata_client_plugin_init_proc init; authdata_client_plugin_fini_proc fini; diff --git a/src/sss_client/sssd_pac.c b/src/sss_client/sssd_pac.c index 8444834a7..523b5c4e3 100644 --- a/src/sss_client/sssd_pac.c +++ b/src/sss_client/sssd_pac.c @@ -302,7 +302,7 @@ sssdpac_internalize(krb5_context kcontext, static krb5_authdatatype sssdpac_ad_types[] = { KRB5_AUTHDATA_WIN2K_PAC, 0 }; krb5plugin_authdata_client_ftable_v0 authdata_client_0 = { - ((void *)((uintptr_t)("sssd_sssdpac"))), + "sssd_sssdpac", sssdpac_ad_types, sssdpac_init, sssdpac_fini, -- 2.39.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor