Code

Aahhrg. Clients are no administrative units!
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 13:13:01 +0000 (13:13 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 13:13:01 +0000 (13:13 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9074 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/server/events/siTriggered.pm

index dba8993cfb2498f59e3794a991152ce016cabea9..4cc8fdc25f2e9f653392b4e83b1ea9308092eb56 100644 (file)
@@ -175,7 +175,7 @@ sub detected_hardware {
                $entry->add("gotoSysStatus" => "new-system");
                $entry->add("ipHostNumber" => $ipaddress);
                if(defined($main::gosa_unit_tag) && length($main::gosa_unit_tag) > 0) {
-                       $entry->add("objectClass" => "gosaAdministrativeUnit");
+                       $entry->add("objectClass" => "gosaAdministrativeUnitTag");
                        $entry->add("gosaUnitTag" => $main::gosa_unit_tag);
                }
                my $res=$entry->update($ldap);