1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-11 16:58:40 +03:00

r21838: generate no metadata for constructed attributes

metze
(This used to be commit 7e0620e524886a66dbdb16f35fee4f51f2867a2a)
This commit is contained in:
Stefan Metzmacher 2007-03-14 12:07:56 +00:00 committed by Gerald (Jerry) Carter
parent 00d74b84e9
commit 97d2f1cc40

View 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;
}