summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_init.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2012-05-22 16:25:50 -0700
committerMatthieu Patou <mat@matws.net>2012-06-22 23:22:03 -0700
commit9374ee1ba1dc1df3d5cdab1755ca9bfac338a4ae (patch)
tree3b4fc97d82c4def0487ccbcca19554c7f337d250 /source4/dsdb/schema/schema_init.c
parent2d20a918db646e9e48f296a46f1d672563730e03 (diff)
downloadsamba-9374ee1ba1dc1df3d5cdab1755ca9bfac338a4ae.tar.gz
samba-9374ee1ba1dc1df3d5cdab1755ca9bfac338a4ae.tar.bz2
samba-9374ee1ba1dc1df3d5cdab1755ca9bfac338a4ae.zip
s4-schema: keep track of the timestamp of the most recently changed/created object
Diffstat (limited to 'source4/dsdb/schema/schema_init.c')
-rw-r--r--source4/dsdb/schema/schema_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/dsdb/schema/schema_init.c b/source4/dsdb/schema/schema_init.c
index 2db708d2df..c0318cf9c4 100644
--- a/source4/dsdb/schema/schema_init.c
+++ b/source4/dsdb/schema/schema_init.c
@@ -807,6 +807,7 @@ int dsdb_load_ldb_results_into_schema(TALLOC_CTX *mem_ctx, struct ldb_context *l
{
unsigned int i;
+ schema->ts_last_change = 0;
for (i=0; i < attrs_class_res->count; i++) {
WERROR status = dsdb_schema_set_el_from_ldb_msg(ldb, schema, attrs_class_res->msgs[i]);
if (!W_ERROR_IS_OK(status)) {