Commit c4de2b5e authored by Côme Chilliet's avatar Côme Chilliet
Browse files

feat(ldap) Add base scope support to ldap::search

Not directly related to #5799 but it was needed for debugging

issue #5799
parent fed43ce1
......@@ -256,7 +256,8 @@ class LDAP
$this->clearResult($srp);
switch (strtolower($scope)) {
case 'base':
throw new FusionDirectoryException('not implemented');
$this->sr[$srp] = @ldap_read($this->cid, $this->basedn, $filter, $attrs);
break;
case 'one':
$this->sr[$srp] = @ldap_list($this->cid, $this->basedn, $filter, $attrs);
break;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment