Update src/Access/LDAPClient.cpp

rename function

Co-authored-by: Denis Glazachev <traceon@users.noreply.github.com>
This commit is contained in:
IlyaTsoi 2022-01-13 21:14:07 +03:00 committed by GitHub
parent f4af86b39e
commit 6a26eccc5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;