r22991: ignore '@foo' attributes in the repl_meta_data module
authorStefan Metzmacher <metze@samba.org>
Fri, 18 May 2007 08:09:51 +0000 (08:09 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:52:37 +0000 (14:52 -0500)
metze
(This used to be commit b592ac1c2c91a72a8aae8ed11d74cba3ce0778c5)

source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index fccd5725e811cf1ef265be4cf5a93b35013ea67a..9dfd2ef822225ea1c2825b9525c5339976133f0d 100644 (file)
@@ -483,6 +483,8 @@ static int replmd_add_originating(struct ldb_module *module,
                struct replPropertyMetaData1 *m = &nmd.ctr.ctr1.array[ni];
                const struct dsdb_attribute *sa;
 
+               if (e->name[0] == '@') continue;
+
                sa = dsdb_attribute_by_lDAPDisplayName(schema, e->name);
                if (!sa) {
                        ldb_debug_set(module->ldb, LDB_DEBUG_ERROR,