diff --git a/include/class_ldap.inc b/include/class_ldap.inc index 0bd7d4b8b360cf5762329cde5b5ddfde92618b28..bf5db49ea999459febebfc535705866a205bcf99 100644 --- a/include/class_ldap.inc +++ b/include/class_ldap.inc @@ -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;