From: hickert Date: Thu, 21 Jun 2007 07:53:39 +0000 (+0000) Subject: Updated group/application assignment. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e7f5d02b43e68c0e89b37d31bee8e0eaec1fd069;p=gosa.git Updated group/application assignment. Search for ou=fai instead of ou=apps git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6638 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/groups/class_groupApplication.inc b/plugins/admin/groups/class_groupApplication.inc index b0c62b7d3..c5c9572fe 100644 --- a/plugins/admin/groups/class_groupApplication.inc +++ b/plugins/admin/groups/class_groupApplication.inc @@ -800,8 +800,8 @@ class appgroup extends plugin $ldap->search("(&(objectClass=organizationalUnit)(objectClass=FAIbranch))",array("ou","dn")); $ret =array(); while($attrs = $ldap->fetch()){ - if(preg_match("/ou=apps,/",$attrs['dn'])){ - $bb = preg_replace("/ou=apps,.*/","",$attrs['dn']); + if(preg_match("/ou=fai,/",$attrs['dn'])){ + $bb = preg_replace("/ou=fai,.*/","",$attrs['dn']); $parts = array_reverse(split("ou=",$bb)); $str ="";