s4:librpc/rpc: allow a total reassembled response payload of 240 MBytes
authorStefan Metzmacher <metze@samba.org>
Wed, 22 Jun 2016 15:18:28 +0000 (17:18 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 5 Jul 2016 07:20:55 +0000 (09:20 +0200)
commitcba64f242dbae6c8ddb0e3c522aea2152faea5ca
tree44d93e4d007232b729f0d323de2b1334563b57b5
parent203c0a5e4f6c84532dfec03b5666c30f004a13cf
s4:librpc/rpc: allow a total reassembled response payload of 240 MBytes

This will replace DCERPC_NCACN_PAYLOAD_MAX_SIZE (4 MByte),
The limit of DCERPC_NCACN_PAYLOAD_MAX_SIZE (4 MByte) was too
strict for some workloads, e.g. DRSUAPI replication with large objects.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11948

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 7413e73c5331b760dc84b3843059230ec5fcfc7b)
source4/librpc/rpc/dcerpc.c
source4/librpc/rpc/dcerpc.h