From 91414a5f9fef2c3b71760ee1a578c2e651642a0d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 4 Mar 2008 13:19:38 +0100 Subject: Fix counter mismatch in lsa_LookupNames3 server. Guenther (cherry picked from commit e052d6f2c82a644986e5d99f640310d71cd5c396) (This used to be commit 59d5e15ee50fbae858358aedf0e458b7e4a4af20) --- 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 b3275f27a3..20c910e46d 100644 --- a/source3/rpc_server/srv_lsa_nt.c +++ b/source3/rpc_server/srv_lsa_nt.c @@ -1176,10 +1176,10 @@ done: } } - *r->out.count = num_entries; + *r->out.count = mapped_count; *r->out.domains = domains; r->out.sids->sids = trans_sids; - r->out.sids->count = mapped_count; + r->out.sids->count = num_entries; return status; } -- cgit