summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2c3de5)
raw | patch | inline | side by side (parent: a2c3de5)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Nov 2008 11:04:30 +0000 (11:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 6 Nov 2008 11:04:30 +0000 (11:04 +0000) |
-Do not search for dummy objects like cn=dummy1,$base, they can't exits and therefore can't match any filter.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12936 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12936 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-plugins/fai/admin/fai/class_faiHook.inc b/gosa-plugins/fai/admin/fai/class_faiHook.inc
index 2e0119adfc600c2b25bf38d29891d836d7adc296..9f24f624c57c154bfc43db7ae0f06a442563aa92 100644 (file)
{
if($dn == "new" || $dn == ""){
if($this->dn == "new"){
- $dn = session::get('CurrentMainBase');
+ $dn= $this->parent->parent->acl_base;
}else{
$dn = $this->dn;
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index b305d4e1473cedd97fee791175c2252c319c916e..e5f1bd8c6a3287afc75c055bbf8754e2bed563e2 100644 (file)
if($s_action == "new_profile"){
$this->dn = "new" ;
- $acl = $this->ui->get_permissions($this->fai_base,"fai/faiProfile");
+ $acl = $this->ui->get_permissions($this->acl_base,"fai/faiProfile");
if(preg_match("/c/",$acl)){
$a_setup= $this->get_type(array("objectClass"=>array("FAIprofile")));
$this->dialog = new $a_setup[0]($this->config,$this->config->data['TABS'][$a_setup[2]],$this->dn,"fai");
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc
index acc749bfe775304e2e92b0a5c57e083fbc2a3fd9..8ad852ab8abe65d06f5df53eca2f3f4347be5b33 100644 (file)
{
if($dn == "new" || $dn == ""){
if($this->dn == "new"){
- $dn = session::get('CurrentMainBase');
+ $dn= $this->parent->parent->acl_base;
}else{
$dn = $this->dn;
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiProfile.inc b/gosa-plugins/fai/admin/fai/class_faiProfile.inc
index 269652ff85d6b08e4f2faa123929054b25153f30..d92e5178ba23248087e8cdf2bfaed76fe5638642 100644 (file)
{
if($dn == "new" || $dn == ""){
if($this->dn == "new"){
- $dn = session::get('CurrentMainBase');
+ $dn= $this->parent->parent->acl_base;
}else{
$dn = $this->dn;
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiScript.inc b/gosa-plugins/fai/admin/fai/class_faiScript.inc
index 7bdc914dbea37f2e342f2fc5e75321d1e18a1e70..db8e38e68da18b904c6dcee6e003bacc3a2fb982 100644 (file)
{
if($dn == "new" || $dn == ""){
if($this->dn == "new"){
- $dn= "cn=dummy,".session::get('CurrentMainBase');
+ $dn= $this->parent->parent->acl_base;
}else{
$dn = $this->dn;
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiTemplate.inc b/gosa-plugins/fai/admin/fai/class_faiTemplate.inc
index 5f0965c813376b397b02c65dedad423c1aa29fc8..b25f018c044cd7b607d49b5a59c1a707c762ac23 100644 (file)
{
if($dn == "new" || $dn == ""){
if($this->dn == "new"){
- $dn = session::get('CurrentMainBase');
+ $dn = $dn= $this->parent->parent->acl_base;
}else{
$dn = $this->dn;
}
diff --git a/gosa-plugins/fai/admin/fai/class_faiVariable.inc b/gosa-plugins/fai/admin/fai/class_faiVariable.inc
index c5e18af3b87af365aa3fe3182adfeebb3623c051..2f3249fce520f51000e9b58161f1fa55bf2c7b0b 100644 (file)
{
if($dn == "new" || $dn == ""){
if($this->dn == "new"){
- $dn = session::get('CurrentMainBase');
+ $dn= $this->parent->parent->acl_base;
}else{
$dn = $this->dn;
}