r21838: generate no metadata for constructed attributes
authorStefan Metzmacher <metze@samba.org>
Wed, 14 Mar 2007 12:07:56 +0000 (12:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:49:35 +0000 (14:49 -0500)
metze
(This used to be commit 7e0620e524886a66dbdb16f35fee4f51f2867a2a)

source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 01f1979eb03aab75afe7f31e0768781b7f4b3d92..bbd8a1e8a2f14859f3163799c21bbb6da8c7a261 100644 (file)
@@ -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;
                }