From: hickert Date: Thu, 10 Apr 2008 10:55:19 +0000 (+0000) Subject: Fixed terminal base detection X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d334f4fd147ee4c9fbaea616285ebff3373b6ea2;p=gosa.git Fixed terminal base detection git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10317 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */