summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-17 17:38:38 +0000
committerGerald Carter <jerry@samba.org>2004-03-17 17:38:38 +0000
commit4d68d3d5ddeda9589f2e3387144fdac616bb791f (patch)
tree13ecf63b2757679885a483ecef3796cce6095e12 /source
parentc0a38844be8f1ec0bc254ab6c34688f9132a3f3d (diff)
downloadsamba-4d68d3d5ddeda9589f2e3387144fdac616bb791f.tar.gz
samba-4d68d3d5ddeda9589f2e3387144fdac616bb791f.tar.xz
samba-4d68d3d5ddeda9589f2e3387144fdac616bb791f.zip
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it
Diffstat (limited to 'source')
-rw-r--r--source/rpc_client/cli_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/rpc_client/cli_pipe.c b/source/rpc_client/cli_pipe.c
index b9511ae00fc..72546947e4d 100644
--- a/source/rpc_client/cli_pipe.c
+++ b/source/rpc_client/cli_pipe.c
@@ -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) ||