From a15600727f83c14e54d3991a07e37a1e0b977cb3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 24 Mar 2015 02:13:10 +0100 Subject: [PATCH] s4:rpc_server/lsa: correctly set *r->out.resume_handle with NT_STATUS_OK in lsa_EnumTrustedDomainsEx() Signed-off-by: Stefan Metzmacher Reviewed-by: Guenther Deschner --- source4/rpc_server/lsa/dcesrv_lsa.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index f31180e4e78..98b0def2c85 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -2468,6 +2468,8 @@ static NTSTATUS dcesrv_lsa_EnumTrustedDomainsEx(struct dcesrv_call_state *dce_ca return STATUS_MORE_ENTRIES; } + *r->out.resume_handle = *r->in.resume_handle + r->out.domains->count; + return NT_STATUS_OK; }