From 6a26eccc5b5977907341b0c500e7dd239a1b55c3 Mon Sep 17 00:00:00 2001 From: IlyaTsoi <45252974+IlyaTsoi@users.noreply.github.com> Date: Thu, 13 Jan 2022 21:14:07 +0300 Subject: [PATCH] Update src/Access/LDAPClient.cpp rename function Co-authored-by: Denis Glazachev --- src/Access/LDAPClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Access/LDAPClient.cpp b/src/Access/LDAPClient.cpp index e229b5c7efe..0d338aec32d 100644 --- a/src/Access/LDAPClient.cpp +++ b/src/Access/LDAPClient.cpp @@ -351,7 +351,7 @@ void LDAPClient::openConnection() 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); - final_user_dn = escapeForLDAPFilter(*user_dn_search_results.begin()); + final_user_dn = escapeForFilter(*user_dn_search_results.begin()); } break;