summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-04 13:16:02 +0100
committerKarolin Seeger <kseeger@samba.org>2008-03-04 13:58:57 +0100
commit659d21a2cb5c84abdf2e4e8440039e73e60c5a50 (patch)
tree6f9cc339599842b1375b9b5e6a1e2294dd8d26a9
parent295734191fc0165a2ea17561a0fd39bffb9625d6 (diff)
downloadsamba-659d21a2cb5c84abdf2e4e8440039e73e60c5a50.tar.gz
samba-659d21a2cb5c84abdf2e4e8440039e73e60c5a50.tar.bz2
samba-659d21a2cb5c84abdf2e4e8440039e73e60c5a50.zip
Fix counter mismatch in lsa_LookupNames server.
Guenther (cherry picked from commit 80fd085c34befd38d33cf6e59080a2a36016a92d) (This used to be commit af7aded25d9007a8c2037940ab90fb30d0a3eef2)
-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;
}