Skip to content

Commit

Permalink
Backport #50865 to 23.5: Fix type of LDAP server params hash in cache…
Browse files Browse the repository at this point in the history
… entry
  • Loading branch information
robot-clickhouse committed Jun 26, 2023
1 parent 23b3a8f commit 498aae5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Access/ExternalAuthenticators.h
Original file line number Diff line number Diff line change
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 498aae5

Please sign in to comment.