s4:librpc/rpc: no longer set FLAG_OBJECT_PRESENT and FLAG_BIGENDIAN for ndr_push_ncac...
authorStefan Metzmacher <metze@samba.org>
Tue, 20 Sep 2016 19:19:28 +0000 (21:19 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 26 Oct 2016 09:20:18 +0000 (11:20 +0200)
This is no longer required, it's done inside.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source4/librpc/rpc/dcerpc_util.c

index 32c753f0d8ff0e8c9750fdb8790eeeaeb4e46520..5c4e4b6d706f17ccf8690ad7f270f81f97839f03 100644 (file)
@@ -64,14 +64,6 @@ NTSTATUS ncacn_push_auth(DATA_BLOB *blob, TALLOC_CTX *mem_ctx,
                return NT_STATUS_NO_MEMORY;
        }
 
-       if (!(pkt->drep[0] & DCERPC_DREP_LE)) {
-               ndr->flags |= LIBNDR_FLAG_BIGENDIAN;
-       }
-
-       if (pkt->pfc_flags & DCERPC_PFC_FLAG_OBJECT_UUID) {
-               ndr->flags |= LIBNDR_FLAG_OBJECT_PRESENT;
-       }
-
        if (auth_info) {
                pkt->auth_length = auth_info->credentials.length;
        } else {