mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-01 20:12:02 +00:00
Update src/Access/LDAPClient.cpp
rename function Co-authored-by: Denis Glazachev <traceon@users.noreply.github.com>
This commit is contained in:
parent
f4af86b39e
commit
6a26eccc5b
@ -351,7 +351,7 @@ void LDAPClient::openConnection()
|
|||||||
if (user_dn_search_results.size() > 1)
|
if (user_dn_search_results.size() > 1)
|
||||||
throw Exception("Failed to detect user DN: more than one entry in the search results", ErrorCodes::LDAP_ERROR);
|
throw Exception("Failed to detect user DN: more than one entry in the search results", ErrorCodes::LDAP_ERROR);
|
||||||
|
|
||||||
final_user_dn = escapeForLDAPFilter(*user_dn_search_results.begin());
|
final_user_dn = escapeForFilter(*user_dn_search_results.begin());
|
||||||
}
|
}
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user