summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0530466)
raw | patch | inline | side by side (parent: 0530466)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:36:02 +0000 (08:36 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Feb 2010 08:36:02 +0000 (08:36 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15510 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/systems/admin/systems/class_componentGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/systems/admin/systems/class_componentGeneric.inc b/gosa-plugins/systems/admin/systems/class_componentGeneric.inc
index 70477398b0e286b1393057933176d1d9c89a4e62..d26d53be63ce27a55a87aa35aa27a57ad5259635 100644 (file)
/* Set base */
if ($this->dn == "new"){
$ui= get_userinfo();
- $this->base= dn2base($ui->dn);
+ $this->base= dn2base(session::global_is_set("CurrentMainBase")?"cn=dummy,".session::global_get("CurrentMainBase"):$ui->dn);
$this->cn= "";
} else {
$this->base= preg_replace ("/^[^,]+,".preg_quote(get_ou("componentRDN"), '/')."/i", "", $this->dn);