summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-04 13:16:02 +0100
committerGünther Deschner <gd@samba.org>2008-03-04 13:22:40 +0100
commit253dc4d728cb27dc53bf072dcd4e0efa896ab7d2 (patch)
tree3d59d676d7568f3563fc80e10dc6ed167c3e7cdf /source3/rpc_server
parent959cb482d39ee0ae27c363ec2b9eaec516e285de (diff)
downloadsamba-253dc4d728cb27dc53bf072dcd4e0efa896ab7d2.tar.gz
samba-253dc4d728cb27dc53bf072dcd4e0efa896ab7d2.tar.bz2
samba-253dc4d728cb27dc53bf072dcd4e0efa896ab7d2.zip
Fix counter mismatch in lsa_LookupNames server.
Guenther (This used to be commit 80fd085c34befd38d33cf6e59080a2a36016a92d)
Diffstat (limited to 'source3/rpc_server')
-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;
}