diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/drs/rpc/dssync.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source4/torture/drs/rpc/dssync.c b/source4/torture/drs/rpc/dssync.c index 2285dfc0b3..c7b67081cb 100644 --- a/source4/torture/drs/rpc/dssync.c +++ b/source4/torture/drs/rpc/dssync.c @@ -954,17 +954,20 @@ static bool test_FetchNT4Data(struct torture_context *tctx, status = dcerpc_drsuapi_DsGetNT4ChangeLog_r(ctx->new_dc.drsuapi.drs_handle, ctx, &r); if (NT_STATUS_EQUAL(status, NT_STATUS_NOT_IMPLEMENTED)) { - torture_skip(tctx, "DsGetNT4ChangeLog not supported by target server"); + torture_skip(tctx, + "DsGetNT4ChangeLog not supported: NT_STATUS_NOT_IMPLEMENTED"); } else if (!NT_STATUS_IS_OK(status)) { const char *errstr = nt_errstr(status); if (NT_STATUS_EQUAL(status, NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE)) { - torture_skip(tctx, "DsGetNT4ChangeLog not supported by target server"); + torture_skip(tctx, + "DsGetNT4ChangeLog not supported: NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE"); } torture_fail(tctx, talloc_asprintf(tctx, "dcerpc_drsuapi_DsGetNT4ChangeLog failed - %s\n", errstr)); } else if (W_ERROR_EQUAL(r.out.result, WERR_INVALID_DOMAIN_ROLE)) { - torture_skip(tctx, "DsGetNT4ChangeLog not supported by target server"); + torture_skip(tctx, + "DsGetNT4ChangeLog not supported: WERR_INVALID_DOMAIN_ROLE"); } else if (!W_ERROR_IS_OK(r.out.result)) { torture_fail(tctx, talloc_asprintf(tctx, "DsGetNT4ChangeLog failed - %s\n", |