Revert "s4:dsdb:repl_meta_data: make sure we have an invocation id"
authorStefan Metzmacher <metze@samba.org>
Tue, 30 Oct 2012 09:50:37 +0000 (10:50 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 18 Feb 2019 10:31:19 +0000 (11:31 +0100)
This reverts commit 1ac892ea69e43ae175d13d9c0fd76b1a3288b296.

source4/dsdb/samdb/ldb_modules/repl_meta_data.c

index 8b112a6b8db37744efdb8fa21f8f257b28ef8271..6141b86915d1c4a7c40c4c784d195cd0d64decfe 100644 (file)
@@ -7034,12 +7034,6 @@ static int replmd_replicated_uptodate_modify(struct replmd_replicated_request *a
 
        /* get our invocation_id if we have one already attached to the ldb */
        our_invocation_id = samdb_ntds_invocation_id(ldb);
-       if (!our_invocation_id) {
-               /* this happens during an initial vampire while
-                  updating the schema */
-               DEBUG(0,("No invocationID - replmd_replicated_uptodate_modify\n"));
-               return replmd_replicated_request_werror(ar, WERR_INTERNAL_ERROR);
-       }
 
        /* merge in the source_dsa vector is available */
        for (i=0; (ruv && i < ruv->count); i++) {