From: hickert Date: Wed, 14 Jun 2006 09:14:43 +0000 (+0000) Subject: Added complete lsit of subobjects to snapshot X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=2dc4cf6ba95dcefb99e0317dba8b4e2ba7fe1125;p=gosa.git Added complete lsit of subobjects to snapshot git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3812 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_plugin.inc b/include/class_plugin.inc index 42cb0a8ae..d3515c98c 100644 --- a/include/class_plugin.inc +++ b/include/class_plugin.inc @@ -1023,7 +1023,7 @@ class plugin $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");