Code

Updated group/application assignment.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jun 2007 07:53:39 +0000 (07:53 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Jun 2007 07:53:39 +0000 (07:53 +0000)
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

plugins/admin/groups/class_groupApplication.inc

index b0c62b7d333530cab88d4c541ff7f8d12dc8a57e..c5c9572fe19ddb9b38ad7f9fced218d5e37c27f1 100644 (file)
@@ -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 ="";