diff options
author | Andrew Tridgell <tridge@samba.org> | 2004-08-03 12:30:17 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:57:46 -0500 |
commit | 707c94babbcc6616802e792c7d14f9171a800984 (patch) | |
tree | 748a7bb4eb7c351ad16f63532e89fed1c7e1e1e1 | |
parent | d4ceaff6a56215cd9ca4b0b115b14bae91e03b34 (diff) | |
download | samba-707c94babbcc6616802e792c7d14f9171a800984.tar.gz samba-707c94babbcc6616802e792c7d14f9171a800984.tar.bz2 samba-707c94babbcc6616802e792c7d14f9171a800984.zip |
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)
-rw-r--r-- | source4/torture/rpc/lsa.c | 6 |
1 files 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"); |