From d334f4fd147ee4c9fbaea616285ebff3373b6ea2 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 10 Apr 2008 10:55:19 +0000 Subject: [PATCH] Fixed terminal base detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10317 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc index e658ffe9c..9c9216ee1 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalGeneric.inc @@ -116,7 +116,7 @@ class termgeneric extends plugin $ui= get_userinfo(); $this->base= dn2base($ui->dn); } else { - $this->base= preg_replace ("/^[^,]+,[^,]+,[^,]+,/", "", $this->dn); + $this->base= preg_replace ("/^[^,]+,".normalizePreg(get_ou("terminalou"))."/", "", $this->dn); } /* Create an array of all Syslog servers */ -- 2.30.2