summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3a7e705)
raw | patch | inline | side by side (parent: 3a7e705)
| author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Wed, 5 Mar 2008 11:54:12 +0000 (11:54 +0000) | ||
| committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
| Wed, 5 Mar 2008 11:54:12 +0000 (11:54 +0000) |
-Release listing fixed.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9346 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@9346 594d385d-05f5-0310-b6e9-bd551577e9d8
| plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 6e86f8e4e862d0078b4113d025cbdb38ba64a262..013946e02dab09baa1c8943d181e9fc30d2d5d9c 100644 (file)
$base= "ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
}
$ldap->ls("(objectClass=FAIbranch)",$base);
+ $objects = array();
while($attrs = $ldap->fetch()){
+ $objects[] = $attrs;
+ }
+ foreach($objects as $attrs){
+
if((isset($attrs['ou']))&&($attrs['dn']!=$base)){
$ret[$attrs['dn']]= $prefix.$attrs['ou'][0];
$ret = array_merge($ret,$this->getBranches($attrs['dn'],"".$prefix.$attrs['ou'][0]."/"));