From 659d21a2cb5c84abdf2e4e8440039e73e60c5a50 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Mar 2008 13:16:02 +0100 Subject: Fix counter mismatch in lsa_LookupNames server. Guenther (cherry picked from commit 80fd085c34befd38d33cf6e59080a2a36016a92d) (This used to be commit af7aded25d9007a8c2037940ab90fb30d0a3eef2) --- source3/rpc_server/srv_lsa_nt.c | 4 ++-- 1 file 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; } -- cgit