From 2dc4cf6ba95dcefb99e0317dba8b4e2ba7fe1125 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 14 Jun 2006 09:14:43 +0000 Subject: [PATCH] Added complete lsit of subobjects to snapshot git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3812 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_plugin.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); -- 2.30.2