Skip to content

Commit

Permalink
Merge pull request #51433 from ClickHouse/backport/23.5/50865
Browse files Browse the repository at this point in the history
Backport #50865 to 23.5: Fix type of LDAP server params hash in cache entry
  • Loading branch information
evillique committed Jun 27, 2023
2 parents 3c63afe + 498aae5 commit cdf7285
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Access/ExternalAuthenticators.h
Expand Up @@ -5,6 +5,7 @@
#include <Access/GSSAcceptor.h>
#include <base/defines.h>
#include <base/types.h>
#include <base/extended_types.h>

#include <chrono>
#include <map>
Expand Down Expand Up @@ -42,7 +43,7 @@ class ExternalAuthenticators
private:
struct LDAPCacheEntry
{
std::size_t last_successful_params_hash = 0;
UInt128 last_successful_params_hash = 0;
std::chrono::steady_clock::time_point last_successful_authentication_timestamp;
LDAPClient::SearchResultsList last_successful_role_search_results;
};
Expand Down

0 comments on commit cdf7285

Please sign in to comment.