summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 47445ab)
raw | patch | inline | side by side (parent: 47445ab)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 08:16:32 +0000 (08:16 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 10 Apr 2008 08:16:32 +0000 (08:16 +0000) |
-Fixed workstation ou detection
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10310 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10310 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc
index 67f82aa26dd83ab286f404c324ccd0dedf20037d..2f9de0459bf31ff66338402f23bb62046d7ba627 100644 (file)
$ui= get_userinfo();
$this->base= dn2base($ui->dn);
} else {
- $this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn);
+ $this->base= preg_replace ("/^[^,]+,".normalizePreg(get_ou("workstationou"))."/i", "", $this->dn);
}
/* Create an array of all Syslog servers */