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