summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a6a3af0)
raw | patch | inline | side by side (parent: a6a3af0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jun 2006 09:14:43 +0000 (09:14 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 14 Jun 2006 09:14:43 +0000 (09:14 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3812 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 42cb0a8ae3aac99c16a7391d6a5791c686facf4a..d3515c98cb954b5eaef0b900d739cd558d49960b 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
$new_base = preg_replace("/".normalizePreg($base)."$/","",$base_of_object).$snap_base;
/* Create object */
- $data = preg_replace('/^dn:.*\n/', '', $ldap->gen_one_entry($this->dn));
+ $data = preg_replace('/^dn:.*\n/', '', $ldap->gen_ldif($this->dn,"(!(objectClass=gosaDepartment))"));
$newName = preg_replace("/\./", "", $sec."-".$usec);
$target= array();
$target['objectClass'] = array("top", "gosaSnapshotObject");