MCPcopy Create free account
hub / github.com/apache/impala / DoLdapCheck

Function DoLdapCheck

be/src/rpc/authentication.cc:379–387  ·  view source on GitHub ↗

Calls into the LDAP utils to check the provided user/pass, and the provided group filters.

Source from the content-addressed store, hash-verified

377// Calls into the LDAP utils to check the provided user/pass,
378// and the provided group filters.
379bool DoLdapCheck(const char* user, const char* pass, unsigned passlen) {
380 ImpalaLdap* ldap = AuthManager::GetInstance()->GetLdap();
381 bool success = ldap->LdapCheckPass(user, pass, passlen);
382 if (!success) {
383 return false;
384 }
385
386 return DoLdapCheckFilters(user);
387}
388
389// Wrapper around the function we use to check passwords with LDAP which has the function
390// signature required to work with SASL.

Callers 2

SaslLdapCheckPassFunction · 0.85
BasicAuthFunction · 0.85

Calls 3

DoLdapCheckFiltersFunction · 0.85
GetLdapMethod · 0.80
LdapCheckPassMethod · 0.45

Tested by

no test coverage detected