summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-04 13:19:38 +0100
committerKarolin Seeger <kseeger@samba.org>2008-03-04 13:59:45 +0100
commit91414a5f9fef2c3b71760ee1a578c2e651642a0d (patch)
tree4bebbc3207e3b4e20706b25cff1a5c43a0424377 /source3
parent659d21a2cb5c84abdf2e4e8440039e73e60c5a50 (diff)
downloadsamba-91414a5f9fef2c3b71760ee1a578c2e651642a0d.tar.gz
samba-91414a5f9fef2c3b71760ee1a578c2e651642a0d.tar.bz2
samba-91414a5f9fef2c3b71760ee1a578c2e651642a0d.zip
Fix counter mismatch in lsa_LookupNames3 server.
Guenther (cherry picked from commit e052d6f2c82a644986e5d99f640310d71cd5c396) (This used to be commit 59d5e15ee50fbae858358aedf0e458b7e4a4af20)
Diffstat (limited to 'source3')
-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 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;
}