From ab8c183a7d2e15a5ad23d2dac462eb709e90972f Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Apr 2008 08:16:32 +0000 Subject: [PATCH] Updated workstation generic -Fixed workstation ou detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10310 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc index 67f82aa26..2f9de0459 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationGeneric.inc @@ -134,7 +134,7 @@ class workgeneric extends plugin $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 */ -- 2.30.2