mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2026-06-04 14:22:26 -04:00
ImportSourceLdap: respect import filter
This commit is contained in:
parent
c20efcd761
commit
635befc501
1 changed files with 2 additions and 2 deletions
|
|
@ -18,8 +18,8 @@ class ImportSourceLdap extends ImportSourceHook
|
|||
if ($base = $this->settings['base']) {
|
||||
$query->setBase($base);
|
||||
}
|
||||
if ($filter = $this->settings['base']) {
|
||||
$query->setBase($base);
|
||||
if ($filter = $this->settings['filter']) {
|
||||
$query->setNativeFilter($filter);
|
||||
}
|
||||
|
||||
return $query->fetchAll();
|
||||
|
|
|
|||
Loading…
Reference in a new issue