summaryrefslogtreecommitdiff
path: root/source4/torture/ndr
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-10-24 13:43:21 +0200
committerGünther Deschner <gd@samba.org>2008-10-27 19:33:23 +0100
commit92f1c0d1565f0b3d60c7235d6760926739a55426 (patch)
treee13eb49afdef9cba04e7c9237f514dfdaeb02cef /source4/torture/ndr
parent992c03a1926cfbf6fb814583e4e2c1db810dd966 (diff)
downloadsamba-92f1c0d1565f0b3d60c7235d6760926739a55426.tar.gz
samba-92f1c0d1565f0b3d60c7235d6760926739a55426.tar.bz2
samba-92f1c0d1565f0b3d60c7235d6760926739a55426.zip
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
Guenther
Diffstat (limited to 'source4/torture/ndr')
-rw-r--r--source4/torture/ndr/lsa.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/source4/torture/ndr/lsa.c b/source4/torture/ndr/lsa.c
index 6f580bd8d8..68eb36ebbd 100644
--- a/source4/torture/ndr/lsa.c
+++ b/source4/torture/ndr/lsa.c
@@ -428,11 +428,12 @@ static const uint8_t lsarlookupnames_out_data[] = {
static bool lsarlookupnames_out_check(struct torture_context *tctx,
struct lsa_LookupNames *r)
{
+ struct lsa_RefDomainList *domains = *(r->out.domains);
torture_assert(tctx, r->out.domains != NULL, "domains ptr");
- torture_assert_int_equal(tctx, r->out.domains->count, 1, "domains count");
- torture_assert_int_equal(tctx, r->out.domains->max_size, 32, "domains size");
- torture_assert(tctx, r->out.domains->domains != NULL, "domains domains");
- torture_assert_str_equal(tctx, r->out.domains->domains[0].name.string, "BUILTIN", "domain name");
+ torture_assert_int_equal(tctx, domains->count, 1, "domains count");
+ torture_assert_int_equal(tctx, domains->max_size, 32, "domains size");
+ torture_assert(tctx, domains->domains != NULL, "domains domains");
+ torture_assert_str_equal(tctx, domains->domains[0].name.string, "BUILTIN", "domain name");
/* FIXME: SID */
torture_assert(tctx, r->out.count != NULL, "count ptr");
torture_assert_int_equal(tctx, *r->out.count, 100, "count");