From c0736c70d6ab442055f998e7b1308a0536f99a95 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 13 Apr 2010 09:38:03 +0200 Subject: s4:torture/rpc: don't look at p->last_fault_code for debugging anymore metze --- source4/torture/rpc/dsgetinfo.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'source4/torture/rpc/dsgetinfo.c') diff --git a/source4/torture/rpc/dsgetinfo.c b/source4/torture/rpc/dsgetinfo.c index 0184905f59..31ab7d075d 100644 --- a/source4/torture/rpc/dsgetinfo.c +++ b/source4/torture/rpc/dsgetinfo.c @@ -170,9 +170,6 @@ static bool _test_DsBind(struct torture_context *tctx, status = dcerpc_drsuapi_DsBind_r(b->drs_handle, ctx, &b->req); if (!NT_STATUS_IS_OK(status)) { const char *errstr = nt_errstr(status); - if (NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) { - errstr = dcerpc_errstr(ctx, b->drs_pipe->last_fault_code); - } printf("dcerpc_drsuapi_DsBind failed - %s\n", errstr); ret = false; } else if (!W_ERROR_IS_OK(b->req.out.result)) { -- cgit