return WERR_FOOBAR;
}
+ if (in->object.attribute_ctr.num_attributes != 0 && !in->meta_data_ctr) {
+ return WERR_FOOBAR;
+ }
+
+ if (in->object.attribute_ctr.num_attributes != in->meta_data_ctr->count) {
+ return WERR_FOOBAR;
+ }
+
msg = ldb_msg_new(mem_ctx);
W_ERROR_HAVE_NO_MEMORY(msg);
W_ERROR_NOT_OK_RETURN(status);
}
- if (in->object.attribute_ctr.num_attributes != 0 && !in->meta_data_ctr) {
- return WERR_FOOBAR;
- }
-
- if (in->object.attribute_ctr.num_attributes != in->meta_data_ctr->count) {
- return WERR_FOOBAR;
- }
-
md = talloc(mem_ctx, struct replPropertyMetaDataBlob);
W_ERROR_HAVE_NO_MEMORY(md);