summaryrefslogtreecommitdiff
path: root/source3/rpc_client
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-01 00:38:26 +0000
committerTim Potter <tpot@samba.org>2002-11-01 00:38:26 +0000
commit3a225c07850cb5979f0b7f70d87b26e1ce2bd7b5 (patch)
tree6725466ab73a477c3ff88dbd1859e7d8e3070fc6 /source3/rpc_client
parent5593892caff697ffcf0db42189fd3836907e8af5 (diff)
downloadsamba-3a225c07850cb5979f0b7f70d87b26e1ce2bd7b5.tar.gz
samba-3a225c07850cb5979f0b7f70d87b26e1ce2bd7b5.tar.bz2
samba-3a225c07850cb5979f0b7f70d87b26e1ce2bd7b5.zip
Tidyup of some DCERPC pipe connection debugs. The new LSA_DS stuff
generates some errors we haven't seen before which are inappropriately logged at level 0. (This used to be commit bd64de3716ffa9c3ebec282aa5cc0f773d3d8096)
Diffstat (limited to 'source3/rpc_client')
-rw-r--r--source3/rpc_client/cli_pipe.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 61c6f2889f..62bf44e3ef 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1054,7 +1054,7 @@ static BOOL check_bind_response(RPC_HDR_BA *hdr_ba, const int pipe_idx, RPC_IFAC
/* check the transfer syntax */
if ((hdr_ba->transfer.version != transfer->version) ||
(memcmp(&hdr_ba->transfer.uuid, &transfer->uuid, sizeof(transfer->uuid)) !=0)) {
- DEBUG(0,("bind_rpc_pipe: transfer syntax differs\n"));
+ DEBUG(2,("bind_rpc_pipe: transfer syntax differs\n"));
return False;
}
@@ -1208,7 +1208,7 @@ BOOL rpc_pipe_bind(struct cli_state *cli, const int pipe_idx, char *my_name)
}
if(!check_bind_response(&hdr_ba, pipe_idx, &transfer)) {
- DEBUG(0,("rpc_pipe_bind: check_bind_response failed.\n"));
+ DEBUG(2,("rpc_pipe_bind: check_bind_response failed.\n"));
prs_mem_free(&rdata);
return False;
}
@@ -1286,8 +1286,7 @@ BOOL cli_nt_session_open(struct cli_state *cli, const int pipe_idx)
/******************* bind request on pipe *****************/
if (!rpc_pipe_bind(cli, pipe_idx, global_myname)) {
- DEBUG(0,("cli_nt_session_open: rpc bind failed. Error was %s\n",
- cli_errstr(cli)));
+ DEBUG(2,("cli_nt_session_open: rpc bind failed\n"));
cli_close(cli, cli->nt_pipe_fnum);
return False;
}