summaryrefslogtreecommitdiff
path: root/source4/utils/net/drs/net_drs_replicate.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/utils/net/drs/net_drs_replicate.c')
-rw-r--r--source4/utils/net/drs/net_drs_replicate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source4/utils/net/drs/net_drs_replicate.c b/source4/utils/net/drs/net_drs_replicate.c
index 147eb45e84..cda82c022b 100644
--- a/source4/utils/net/drs/net_drs_replicate.c
+++ b/source4/utils/net/drs/net_drs_replicate.c
@@ -173,9 +173,6 @@ static bool net_drs_replicate_sync_nc(struct net_drs_context *drs_ctx,
status = dcerpc_drsuapi_DsReplicaSync_r(drs_conn->drs_handle, drs_ctx, &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(drs_ctx, drs_conn->drs_pipe->last_fault_code);
- }
d_printf("DsReplicaSync failed - %s.\n", errstr);
return false;
} else if (!W_ERROR_IS_OK(req.out.result)) {