s4:objectclass LDB module - "ldb_msg_sanity_check" call not really needed
[ira/wip.git] / source4 / dsdb / samdb / ldb_modules / objectclass.c
index 4107c9cd7cc2f24becb062c36cd91c44dcd1b9ec..fd39937bc95d5d9a3b53784804ef26ba7497a557 100644 (file)
@@ -762,11 +762,6 @@ static int objectclass_do_add(struct oc_context *ac)
                }
        }
 
-       ret = ldb_msg_sanity_check(ldb, msg);
-       if (ret != LDB_SUCCESS) {
-               return ret;
-       }
-
        ret = ldb_build_add_req(&add_req, ldb, ac,
                                msg,
                                ac->req->controls,