diff options
author | Stefan Metzmacher <metze@samba.org> | 2007-03-14 12:07:56 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:49:35 -0500 |
commit | 97d2f1cc407bac02e57bed05090c227daa870c98 (patch) | |
tree | eba9f22f9d0693ceff03d73c9471db5aab12ba41 | |
parent | 00d74b84e902e4d9ef4874637822d1ae5697275f (diff) | |
download | samba-97d2f1cc407bac02e57bed05090c227daa870c98.tar.gz samba-97d2f1cc407bac02e57bed05090c227daa870c98.tar.bz2 samba-97d2f1cc407bac02e57bed05090c227daa870c98.zip |
r21838: generate no metadata for constructed attributes
metze
(This used to be commit 7e0620e524886a66dbdb16f35fee4f51f2867a2a)
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 6 |
1 files changed, 4 insertions, 2 deletions
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; } |