s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pulling
authorStefan Metzmacher <metze@samba.org>
Thu, 23 Sep 2010 02:04:58 +0000 (19:04 -0700)
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>
Thu, 23 Sep 2010 15:41:05 +0000 (08:41 -0700)
commit224fbbe33fbb4acea1c0907b1b7566d749521a92
tree387376aedbf8b4427a0559b721cbb5262ed9d0c2
parentbe0ed310b335b5098f2ba475a709c1832de10127
s4:irpc: use LIBNDR_FLAG_REF_ALLOC for the server side when pulling

The dcerpc server also uses it, so it was surprising that the
IRPC server side doesn't used it.

The reason to have this is that we want to handle error cases
and returns like NT_STATUS_NOT_SUPPORTED sane, without crashing
while marshalling the response.

metze

Signed-off-by: Anatoliy Atanasov <anatoliy.atanasov@postpath.com>
source4/lib/messaging/messaging.c