From 86fd96760b5d7c3ece005308df074519d4f4a547 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 1 Jun 2010 11:53:35 +0000 Subject: [PATCH] Set scope correctly git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18819 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../dyngroup/addons/dyngroup/classDynamicLdapGroup.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'); } -- 2.30.2