drs-getncchanges: do not set the highestUsn to 0
authorMatthieu Patou <mat@matws.net>
Tue, 25 Sep 2012 21:02:55 +0000 (14:02 -0700)
committerMatthieu Patou <mat@matws.net>
Mon, 8 Oct 2012 04:51:01 +0000 (21:51 -0700)
Paragraph 4.1.10.5 says that
         if err = 0 then
         msgOut.pNC := msgIn.pNC
         msgOut.usnvecFrom := msgIn.usnvecFrom
so no need to set the highestUsn to 0

source4/rpc_server/drsuapi/getncchanges.c

index c366eed8535553cd9f7bbd4802e34207e7c2902f..f65fa2c0949e1d28d705924b1674d5f1bd3272cb 100644 (file)
@@ -1016,7 +1016,6 @@ static WERROR getncchanges_repl_obj(struct drsuapi_bind_state *b_state,
                 drs_ObjectIdentifier_to_string(mem_ctx, ncRoot)));
 
        ctr6->extended_ret = DRSUAPI_EXOP_ERR_SUCCESS;
-       req10->highwatermark.highest_usn = 0;
        return WERR_OK;
 }