summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/lsa.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-22 09:32:35 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-22 09:32:35 +0000
commit4666ec9301ebb753c846f4a79a008bc088cf0c02 (patch)
tree0e7fc482919167ef30e7a394b441f2f7e6d167f8 /source4/torture/rpc/lsa.c
parent175e9475796ca7f2ba1e8efad3e6975ad0c71882 (diff)
downloadsamba-4666ec9301ebb753c846f4a79a008bc088cf0c02.tar.gz
samba-4666ec9301ebb753c846f4a79a008bc088cf0c02.tar.bz2
samba-4666ec9301ebb753c846f4a79a008bc088cf0c02.zip
* fixed NDR flag inheritance across push subcontexts
* don't consider not doing lsa_QueryInfoPolicy level 11 a failure (w2k3 doesn't have this level, w2k does) * on a NDR validation failure dump the failed data at level 3 (This used to be commit 9d5078962f0f8aef3360dea4c4774cf8de1fdc26)
Diffstat (limited to 'source4/torture/rpc/lsa.c')
-rw-r--r--source4/torture/rpc/lsa.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index 178248a49b..c98b7ec60a 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -443,7 +443,6 @@ static BOOL test_QueryInfoPolicy(struct dcerpc_pipe *p,
NTSTATUS status;
int i;
BOOL ret = True;
-
printf("\nTesting QueryInfoPolicy\n");
for (i=1;i<13;i++) {
@@ -454,8 +453,9 @@ static BOOL test_QueryInfoPolicy(struct dcerpc_pipe *p,
status = dcerpc_lsa_QueryInfoPolicy(p, mem_ctx, &r);
- if ((i == 9 || i == 10) &&
+ if ((i == 9 || i == 10 || i == 11) &&
NT_STATUS_EQUAL(status, NT_STATUS_INVALID_PARAMETER)) {
+ printf("server failed level %u (OK)\n", i);
continue;
}