summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-03-04 13:19:38 +0100
committerGünther Deschner <gd@samba.org>2008-03-04 13:22:40 +0100
commit7c95f53b686e5a3eb291534ae9cdc5939ef2ac66 (patch)
treee742bbcb9690b3a6b37429eb264c4ffd3c636ae1 /source3
parent253dc4d728cb27dc53bf072dcd4e0efa896ab7d2 (diff)
downloadsamba-7c95f53b686e5a3eb291534ae9cdc5939ef2ac66.tar.gz
samba-7c95f53b686e5a3eb291534ae9cdc5939ef2ac66.tar.bz2
samba-7c95f53b686e5a3eb291534ae9cdc5939ef2ac66.zip
Fix counter mismatch in lsa_LookupNames3 server.
Guenther (This used to be commit e052d6f2c82a644986e5d99f640310d71cd5c396)
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;
}