1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00

s4-drs: don't send uninstantiated objects in getncchanges

This includes deleted partitions

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
Andrew Tridgell 2010-04-26 17:02:25 +10:00
parent 159de40b0b
commit 6ee1c503bf

View File

@ -132,6 +132,11 @@ static WERROR get_nc_changes_build_object(struct drsuapi_DsReplicaObjectListItem
return WERR_OK;
}
if (instanceType & INSTANCE_TYPE_UNINSTANT) {
/* don't send uninstantiated objects */
return WERR_OK;
}
ndr_err = ndr_pull_struct_blob(md_value, obj,
lp_iconv_convenience(ldb_get_opaque(sam_ctx, "loadparm")), &md,
(ndr_pull_flags_fn_t)ndr_pull_replPropertyMetaDataBlob);