From 707c94babbcc6616802e792c7d14f9171a800984 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 3 Aug 2004 12:30:17 +0000 Subject: r1637: - w2k3 can't handle more than 1000 names in a LookupNames request - use a SID that w2k3 likes in CreateTrustedDomain (This used to be commit b5f25fdb7440ba21f073f4ca7fa9a8771a6ebaf4) --- source4/torture/rpc/lsa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c index 44e1564992..bf18f48e58 100644 --- a/source4/torture/rpc/lsa.c +++ b/source4/torture/rpc/lsa.c @@ -112,7 +112,7 @@ static BOOL test_LookupNames(struct dcerpc_pipe *p, NTSTATUS status; int i; - printf("\nTesting LookupNames\n"); + printf("\nTesting LookupNames with %d names\n", tnames->count); sids.count = 0; sids.sids = NULL; @@ -197,7 +197,7 @@ static BOOL test_many_LookupSids(struct dcerpc_pipe *p, names.count = 0; names.names = NULL; - sids.num_sids = 10000; + sids.num_sids = 1000; sids.sids = talloc_array_p(mem_ctx, struct lsa_SidPtr, sids.num_sids); @@ -346,7 +346,7 @@ static BOOL test_CreateTrustedDomain(struct dcerpc_pipe *p, printf("Testing CreateTrustedDomain\n"); - domsid = dom_sid_parse_talloc(mem_ctx, "S-1-5-697-97398-3797956"); + domsid = dom_sid_parse_talloc(mem_ctx, "S-1-5-21-97398-379795-12345"); trustinfo.sid = domsid; init_lsa_Name(&trustinfo.name, "torturedomain"); -- cgit