Skip to content

Commit

Permalink
Merge pull request #50865 from jmaicher/fix/50864/verification-cooldo…
Browse files Browse the repository at this point in the history
…wn-cache-entry

Fix type of LDAP server params hash in cache entry
  • Loading branch information
evillique committed Jun 15, 2023
2 parents b248ba7 + 6201947 commit b963369
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 b963369

Please sign in to comment.