Skip to content

Commit

Permalink
Backport ClickHouse#50865 to 23.3: Fix type of LDAP server params has…
Browse files Browse the repository at this point in the history
…h in cache entry
  • Loading branch information
robot-clickhouse authored and MyroTk committed Sep 21, 2023
1 parent e00874f commit dccce3f
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 dccce3f

Please sign in to comment.