From: hickert Date: Tue, 1 Jun 2010 11:53:35 +0000 (+0000) Subject: Set scope correctly X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=86fd96760b5d7c3ece005308df074519d4f4a547;p=gosa.git Set scope correctly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18819 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc index 996eaa343..02c74dd50 100644 --- a/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc +++ b/gosa-plugins/dyngroup/addons/dyngroup/classDynamicLdapGroup.inc @@ -87,6 +87,7 @@ class DynamicLdapGroup extends plugin if(!in_array($scope,array('base','one','sub'))) continue; // Append parsed uri + $scope = array_search($scope,$this->scopes); $this->labeledURIparsed[] = array('base' => $base, 'attr' => $attr, 'scope' => $scope,'filter' => $filter); } @@ -196,7 +197,7 @@ class DynamicLdapGroup extends plugin array( 'base' => 'ldap:///'.$this->dn, 'attr' => 'memberUid', - 'scope' => 'sub', + 'scope' => 2, 'filter' => 'objectClass=posixGroup'); }