summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 95ccc20)
raw | patch | inline | side by side (parent: 95ccc20)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jan 2006 08:01:38 +0000 (08:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 12 Jan 2006 08:01:38 +0000 (08:01 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2453 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiManagement.inc | patch | blob | history |
index 6a516158f0216339484ed506a0ca8b9bdd89ef5f..16bc0e5169f4ad4eaf5199eb7b2d90a89856741c 100644 (file)
$this->dialog= NULL;
/* Terminal list has changed, reload it. */
- $this->reload ();
} else {
/* Normally this shouldn't be reached, send some extra
$baseToUse = $_SESSION['faifilter']['branch'];
}
+ $ldap->cd($this->config->current['BASE']);
+ $ldap->create_missing_trees($baseToUse);
$ldap->cd ("ou=".$name.",".$baseToUse);
$ldap->recursive_remove();
if((isset($_POST['base']))&&($s_action=="")){
$faifilter['base']=$_POST['base'];
}
-
- $br = $this->getBranches();
+ $base= "ou=fai,ou=configs,ou=systems,".$faifilter['base'];
+
+ $br = $this->getBranches($base);
if(!isset($br[$faifilter['branch']])){
$faifilter['branch'] = "main";
}