]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont...
authorGerald Carter <jerry@samba.org>
Wed, 17 Mar 2004 17:38:38 +0000 (17:38 +0000)
committerGerald Carter <jerry@samba.org>
Wed, 17 Mar 2004 17:38:38 +0000 (17:38 +0000)
(This used to be commit 4d68d3d5ddeda9589f2e3387144fdac616bb791f)

source3/rpc_client/cli_pipe.c

index b9511ae00fcf9cbafd267f56a24c28dbfadcaebf..72546947e4dce5f0a52c9084441f4d2fd0553db6 100644 (file)
@@ -1223,6 +1223,7 @@ static BOOL check_bind_response(RPC_HDR_BA *hdr_ba, const int pipe_idx, RPC_IFAC
 {
        int i = 0;
 
+# if 0 /* JERRY -- apparently ASU forgets to fill in the server pipe name sometimes */
        if ( hdr_ba->addr.len <= 0)
                return False;
                
@@ -1240,6 +1241,7 @@ static BOOL check_bind_response(RPC_HDR_BA *hdr_ba, const int pipe_idx, RPC_IFAC
                DEBUG(2,("bind_rpc_pipe: pipe name %s unsupported\n", hdr_ba->addr.str));
                return False;
        }
+#endif         /* JERRY */
 
        /* check the transfer syntax */
        if ((hdr_ba->transfer.version != transfer->version) ||