r1380: adding debug message when encouting an ASU specific bug in an rpc_bind reply
authorGerald Carter <jerry@samba.org>
Wed, 7 Jul 2004 18:14:16 +0000 (18:14 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:08 +0000 (10:52 -0500)
source/rpc_client/cli_pipe.c

index 9e2d5aa4a756db7e18534ce7b7ae0d3dcd8449cd..0720f8724198b185253674f9069da713ff907e9e 100644 (file)
@@ -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) )
        {