From: hickert Date: Tue, 23 May 2006 07:06:31 +0000 (+0000) Subject: Added Unittag check X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=8cb82244cb94ade591381272c5466e35537cc853;p=gosa.git Added Unittag check git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3498 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/systems/class_terminalGeneric.inc b/plugins/admin/systems/class_terminalGeneric.inc index 2aa43a34f..98f247e75 100644 --- a/plugins/admin/systems/class_terminalGeneric.inc +++ b/plugins/admin/systems/class_terminalGeneric.inc @@ -408,6 +408,11 @@ class termgeneric extends plugin } } + /* Append gosaAdministrativeUnitTag to objectClass if gosaUnitTag isset */ + if(($this->gosaUnitTag) && (!in_array_ics("gosaAdministrativeUnitTag",$this->attrs['objectClass']))){ + $this->attrs['objectClass'][] = "gosaAdministrativeUnitTag"; + } + /* Write back to ldap */ $ldap= $this->config->get_ldap_link(); if ($this->orig_dn == 'new'){