summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0db1c9f)
raw | patch | inline | side by side (parent: 0db1c9f)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Jan 2007 08:31:53 +0000 (08:31 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 19 Jan 2007 08:31:53 +0000 (08:31 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@5586 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPartitionTable.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiPartitionTable.inc b/plugins/admin/fai/class_faiPartitionTable.inc
index 793475456e3892a6bcb29bda16c5ffcc6c689b43..d85152d5114a7832164364842c7187c0e873e9b6 100644 (file)
$ldap->cd($this->config->current['BASE']);
$ldap->create_missing_trees(preg_replace('/^[^,]+,/', '', $partition_dn));
$ldap->cd($partition_dn);
+ if (isset($partition_attrs['gosaUnitTag']) && !in_array_ics("gosaAdministrativeUnitTag",$partition_attrs['objectClass'])){
+ $partition_attrs['objectClass'][]= "gosaAdministrativeUnitTag";
+ }
$ldap->add($partition_attrs);
show_ldap_error($ldap->get_error(), _("Saving FAI partition table entry failed"));
}