summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-07-07 18:14:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:08 -0500
commitdda9d7626475d4d01b91ecd0dd31c80a88cb90bc (patch)
tree1b6ee6250dfce8af2cc2fb3e3ee61b998df9ac64
parentbd1fbdbd8a9d5a0cfd9789852caa7eef335767ed (diff)
downloadsamba-dda9d7626475d4d01b91ecd0dd31c80a88cb90bc.tar.gz
samba-dda9d7626475d4d01b91ecd0dd31c80a88cb90bc.tar.bz2
samba-dda9d7626475d4d01b91ecd0dd31c80a88cb90bc.zip
r1380: adding debug message when encouting an ASU specific bug in an rpc_bind reply
(This used to be commit c6e73ff091b4d87111b33735400fdd10d4c8671c)
-rw-r--r--source3/rpc_client/cli_pipe.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index 9e2d5aa4a7..0720f87241 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/rpc_client/cli_pipe.c
@@ -1233,10 +1233,12 @@ static BOOL valid_pipe_name(const int pipe_idx, RPC_IFACE *abstract, RPC_IFACE *
static BOOL check_bind_response(RPC_HDR_BA *hdr_ba, const int pipe_idx, RPC_IFACE *transfer)
{
-# if 0 /* JERRY -- apparently ASU forgets to fill in the server pipe name sometimes */
- if ( hdr_ba->addr.len <= 0)
- return False;
+ if ( hdr_ba->addr.len == 0) {
+ DEBUG(4,("Ignoring length check -- ASU bug (server didn't fill in the pipe name correctly)"));
+ }
+
+# if 0 /* JERRY -- apparently ASU forgets to fill in the server pipe name sometimes */
if ( !strequal(hdr_ba->addr.str, pipe_names[pipe_idx].client_pipe) &&
!strequal(hdr_ba->addr.str, pipe_names[pipe_idx].server_pipe) )
{