From e7f5d02b43e68c0e89b37d31bee8e0eaec1fd069 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Jun 2007 07:53:39 +0000 Subject: [PATCH] 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 --- plugins/admin/groups/class_groupApplication.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 =""; -- 2.30.2