From: hickert Date: Thu, 26 Oct 2006 04:17:02 +0000 (+0000) Subject: Replaced group ou with get_groups_ou function X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c0ac096412a068e4e1233cb4b09fd80a25f0dd5a;p=gosa.git Replaced group ou with get_groups_ou function git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@4940 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/personal/generic/class_user.inc b/plugins/personal/generic/class_user.inc index 1d758a2f6..2c546dfab 100644 --- a/plugins/personal/generic/class_user.inc +++ b/plugins/personal/generic/class_user.inc @@ -1204,7 +1204,7 @@ class user extends plugin foreach($attrs['gosaSubtreeACL'] as $attr){ if((preg_match("/:user#/",$attr))||(preg_match("/:all/",$attr))){ - $s = preg_replace("/^.*ou=groups,/","",$attrs['dn']); + $s = preg_replace("/^.*".get_groups_ou().",/","",$attrs['dn']); foreach($this->config->idepartments as $key => $dep) { if(preg_match("/".$s."/i",$key)){