unix_to_nt_time(&now, t);
+ /* 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"));
+ smb_panic(__location__);
+ return replmd_replicated_request_werror(ar, WERR_INTERNAL_ERROR);
+ }
+
if (ar->search_msg == NULL) {
/* this happens for a REPL_OBJ call where we are
creating the target object by replicating it. The