Skip to content

Commit

Permalink
Fix krb5 library SO name in the gcc api shim (#59526)
Browse files Browse the repository at this point in the history
The library name used in the shim is a name of the build time library which
is usually installed only for development purposes. We should use
libgssapi_krb5.so.2 which is the underlying runtime library.
  • Loading branch information
janvorli authored Sep 24, 2021
1 parent 6b11f64 commit 2056905
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ static void* volatile s_gssLib = NULL;
#define GSS_C_NT_HOSTBASED_SERVICE (*GSS_C_NT_HOSTBASED_SERVICE_ptr)
#define gss_mech_krb5 (*gss_mech_krb5_ptr)

#define gss_lib_name "libgssapi_krb5.so"
#define gss_lib_name "libgssapi_krb5.so.2"

static int32_t ensure_gss_shim_initialized()
{
Expand Down

0 comments on commit 2056905

Please sign in to comment.