From 97d2f1cc407bac02e57bed05090c227daa870c98 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 14 Mar 2007 12:07:56 +0000 Subject: r21838: generate no metadata for constructed attributes metze (This used to be commit 7e0620e524886a66dbdb16f35fee4f51f2867a2a) --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source4') diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index 01f1979eb0..bbd8a1e8a2 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -492,8 +492,10 @@ static int replmd_add_originating(struct ldb_module *module, return LDB_ERR_NO_SUCH_ATTRIBUTE; } - if (sa->systemFlags & 0x00000001) { - /* attribute is not replicated so it has no meta data */ + if ((sa->systemFlags & 0x00000001) || (sa->systemFlags & 0x00000004)) { + /* if the attribute is not replicated (0x00000001) + * or constructed (0x00000004) it has no metadata + */ continue; } -- cgit