index df8327117d84469311c52fb261a5e31997fd2e38..c18779abe68b661eecf0b171680ee804a4efba94 100644 (file)
{
$baseobject= $this->by_object['faiPartitionTable'];
- // cn=FAIBASE,ou=disk,ou=fai,ou=configs,ou=systems,dc=gonicus,dc=de
- $new_dn= 'cn='.$baseobject->cn.",ou=disk,ou=fai,ou=configs,ou=systems,".$_SESSION['faifilter']['base'];
+ $new_dn= 'cn='.$baseobject->cn.",ou=disk,ou=fai,ou=configs,ou=systems,".$_SESSION['CurrentMainBase'];
- // Old .. $new_dn= 'ou='.$baseobject->ou.','.$baseobject->base;
+ if($_SESSION['faifilter']['branch']!="main"){
+ $new_dn ='cn='.$baseobject->cn.",ou=disk,".$_SESSION['faifilter']['branch'];
+ }
if ($this->dn != $new_dn && $this->dn != "new"){