summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f69e95)
raw | patch | inline | side by side (parent: 3f69e95)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Nov 2006 07:23:39 +0000 (07:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Nov 2006 07:23:39 +0000 (07:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5261 594d385d-05f5-0310-b6e9-bd551577e9d8
include/functions_FAI.inc | patch | blob | history |
index 9fc2270b88af2c63d9cc286fe2db494bfb9f92e2..d542bd4c95d31aa2af21d72270b26bae1721e271 100644 (file)
foreach($deps_to_search as $fai_base){
/* Ldap search for fai classes specified in this release */
- $ldap->cd($fai_base);
- $ldap->search($filter,array("dn","objectClass","FAIstate"));
-
+ $res_tmp = get_list($filter,"fai",$fai_base,array("dn","objectClass","FAIstate"),GL_SUBSEARCH | GL_SIZELIMIT);
+
/* check the returned objects, and add/replace them in our return variable */
- while($attr = $ldap->fetch()){
+ foreach($res_tmp as $attr){
$buffer = array();
-# $name = str_ireplace($release,"",$attr['dn']);
$name = preg_replace("/".normalizePreg($release)."/i","",$attr['dn']);
if(isset($attr['FAIstate'][0])){