summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/rpc_server/srv_lsa_nt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpc_server/srv_lsa_nt.c b/source3/rpc_server/srv_lsa_nt.c
index c03630d6f9..b3275f27a3 100644
--- a/source3/rpc_server/srv_lsa_nt.c
+++ b/source3/rpc_server/srv_lsa_nt.c
@@ -1036,10 +1036,10 @@ done:
}
}
- *r->out.count = num_entries;
+ *r->out.count = mapped_count;
*r->out.domains = domains;
r->out.sids->sids = rids;
- r->out.sids->count = mapped_count;
+ r->out.sids->count = num_entries;
return status;
}