X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_userinfo.inc;h=36c5072553e9296ae2ec100b25c9e40d5103ce8f;hb=42a7dda70fe0fa9ec489bb0d2b35446a165833bb;hp=1966462bf8b04b64b64935de471452f11860a6ca;hpb=271c0e9443fe7078450085bfdcca623bf6fe120f;p=gosa.git diff --git a/gosa-core/include/class_userinfo.inc b/gosa-core/include/class_userinfo.inc index 1966462bf..36c507255 100644 --- a/gosa-core/include/class_userinfo.inc +++ b/gosa-core/include/class_userinfo.inc @@ -36,7 +36,7 @@ class userinfo var $ocMapping= array(); var $groups= array(); var $result_cache =array(); - var $ignoreACl = FALSE; + var $ignoreACL = FALSE; var $ACLperPath = array(); var $ACLperPath_usesFilter = array(); @@ -158,8 +158,9 @@ class userinfo /* Inspect members... */ foreach ($type['members'] as $grp => $grpdsc){ + /* Some group inside the members that is relevant for us? */ - if (in_array_ics(preg_replace('/^G:/', '', $grp), $this->groups)){ + if (in_array_ics(@LDAP::convert(preg_replace('/^G:/', '', $grp)), $this->groups)){ $interresting= TRUE; } @@ -213,7 +214,7 @@ class userinfo /* Remove all acl entries which are especially for the current user (self acl) */ foreach($acl_set['acl'] as $object => $object_acls){ - if(strpos($object_acls[0],"s")){ + if(isset($object_acls[0]) && strpos($object_acls[0],"s")){ unset($without_self_acl[$sdn][$dn][$acl_id]['acl'][$object]); } }