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; }