Call authgss_free_private_data() if library provides it.
Subsystems (2)
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 11 lines · NeilBrown
librpcsecgss provides
authgss_free_private_data()as a pair toauthgss_get_private_data(). libtirpc does not - until recently.This ommision results in
authgss_destroy_context()sending an incorrectRPCSEC_GSS_DESTROYrequest when gssd callsAUTH_DESTROY().The call has been added to libtirpc, so this patch updates nfs-utils to check for the presense of the function in libtirpc and to set
HAVE_AUTHGSS_FREE_PRIVATE_DATAif it is present.
This is also set unconditionally if librpcsecgss is used.
Quoted 4 lines
gssd is changed to test this value rather than
HAVE_LIBTIRPCwhen chosing whether to callauthgss_free_private_data().Signed-off-by NeilBrown <[email protected]>
Committed...
steved.