Skip to content
Snippets Groups Projects
Commit 69e6579e authored by Thomas Bruederli's avatar Thomas Bruederli
Browse files

Don't execute LDAP queries for domains if domain_base_dn is not configured

parent 43de37cc
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -3060,8 +3060,7 @@ class Net_LDAP3
$result = false;
}
}
else {
$domain_base_dn = $this->config_get('domain_base_dn');
else if ($domain_base_dn = $this->config_get('domain_base_dn')) {
$domain_filter = $this->config_get('domain_filter');
 
if (strpos($domain_filter, '%s') !== false) {
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment