mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-27 10:02:01 +00:00
Compilation fixes
This commit is contained in:
parent
279853b16a
commit
be184272d8
@ -187,7 +187,8 @@ void LDAPAccessStorage::applyRoleChangeNoLock(bool grant, const UUID & role_id,
|
||||
{
|
||||
user_ids = memory_storage.findAll<User>();
|
||||
}
|
||||
else {
|
||||
else
|
||||
{
|
||||
const auto it = users_per_roles.find(role_name);
|
||||
if (it != users_per_roles.end())
|
||||
{
|
||||
|
@ -465,7 +465,7 @@ bool LDAPSimpleAuthClient::authenticate(const LDAPSearchParamsList * search_para
|
||||
|
||||
#else // USE_LDAP
|
||||
|
||||
void LDAPClient::diag(const int)
|
||||
void LDAPClient::diag(const int, String)
|
||||
{
|
||||
throw Exception("ClickHouse was built without LDAP support", ErrorCodes::FEATURE_IS_NOT_ENABLED_AT_BUILD_TIME);
|
||||
}
|
||||
@ -479,12 +479,12 @@ void LDAPClient::closeConnection() noexcept
|
||||
{
|
||||
}
|
||||
|
||||
LDAPSearchResults LDAPClient::search(const LDAPSearchParams & search_params)
|
||||
LDAPSearchResults LDAPClient::search(const LDAPSearchParams &)
|
||||
{
|
||||
throw Exception("ClickHouse was built without LDAP support", ErrorCodes::FEATURE_IS_NOT_ENABLED_AT_BUILD_TIME);
|
||||
}
|
||||
|
||||
bool LDAPSimpleAuthClient::authenticate()
|
||||
bool LDAPSimpleAuthClient::authenticate(const LDAPSearchParamsList *, LDAPSearchResultsList *)
|
||||
{
|
||||
throw Exception("ClickHouse was built without LDAP support", ErrorCodes::FEATURE_IS_NOT_ENABLED_AT_BUILD_TIME);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user