diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-04-13 09:14:14 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-04-15 09:34:03 +0200 |
commit | 1293712b7d098aca12d7d2e043dc8ee87fb02aec (patch) | |
tree | 665f44e75661de223bb5427041cb12787b244952 /source4 | |
parent | 146ce6ead122f6f4ab18998c91d1bbdd1c63d336 (diff) | |
download | samba-1293712b7d098aca12d7d2e043dc8ee87fb02aec.tar.gz samba-1293712b7d098aca12d7d2e043dc8ee87fb02aec.tar.bz2 samba-1293712b7d098aca12d7d2e043dc8ee87fb02aec.zip |
s4:util/net/drs: don't look at p->last_fault_code for debugging anymore
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/utils/net/drs/net_drs.c | 3 | ||||
-rw-r--r-- | source4/utils/net/drs/net_drs_kcc.c | 3 | ||||
-rw-r--r-- | source4/utils/net/drs/net_drs_replicate.c | 3 | ||||
-rw-r--r-- | source4/utils/net/drs/net_drs_showrepl.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/source4/utils/net/drs/net_drs.c b/source4/utils/net/drs/net_drs.c index cd2f8dfcab..c174bf4f98 100644 --- a/source4/utils/net/drs/net_drs.c +++ b/source4/utils/net/drs/net_drs.c @@ -103,9 +103,6 @@ static bool net_drs_DsBind(struct net_drs_context *drs_ctx, struct net_drs_conne status = dcerpc_drsuapi_DsBind_r(conn->drs_handle, conn, &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(conn, conn->drs_pipe->last_fault_code); - } d_printf("dcerpc_drsuapi_DsBind failed - %s\n", errstr); return false; } else if (!W_ERROR_IS_OK(req.out.result)) { diff --git a/source4/utils/net/drs/net_drs_kcc.c b/source4/utils/net/drs/net_drs_kcc.c index 1afb96f517..eaf550e64d 100644 --- a/source4/utils/net/drs/net_drs_kcc.c +++ b/source4/utils/net/drs/net_drs_kcc.c @@ -143,9 +143,6 @@ int net_drs_kcc_cmd(struct net_context *ctx, int argc, const char **argv) status = dcerpc_drsuapi_DsExecuteKCC_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("dcerpc_drsuapi_DsExecuteKCC failed - %s.\n", errstr); goto failed; } else if (!W_ERROR_IS_OK(req.out.result)) { 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)) { diff --git a/source4/utils/net/drs/net_drs_showrepl.c b/source4/utils/net/drs/net_drs_showrepl.c index 33fb014b91..b3e5ab91c0 100644 --- a/source4/utils/net/drs/net_drs_showrepl.c +++ b/source4/utils/net/drs/net_drs_showrepl.c @@ -216,9 +216,6 @@ static bool net_drs_exec_DsReplicaGetInfo(struct net_drs_context *drs_ctx, status = dcerpc_drsuapi_DsReplicaGetInfo_r(drs_conn->drs_handle, drs_ctx, &r); 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("DsReplicaGetInfo failed - %s.\n", errstr); return false; } else if (!W_ERROR_IS_OK(r.out.result)) { |