summaryrefslogtreecommitdiff
path: root/source3
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
commitaad3d8aeb013211398c223472d563c088d27b7f7 (patch)
treeae205575d2626efc9dce95a7d5fbd7f84c318a10 /source3
parentad49346e1a284ac2d1b8d766f6d05ec022b031f4 (diff)
downloadsamba-aad3d8aeb013211398c223472d563c088d27b7f7.tar.gz
samba-aad3d8aeb013211398c223472d563c088d27b7f7.tar.bz2
samba-aad3d8aeb013211398c223472d563c088d27b7f7.zip
asu/syntax/pc_netlink doesn't fill in the pipe name in the rpc_bind response so dont check for it
(This used to be commit 4d68d3d5ddeda9589f2e3387144fdac616bb791f)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_client/cli_pipe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/rpc_client/cli_pipe.c b/source3/rpc_client/cli_pipe.c
index b9511ae00f..72546947e4 100644
--- a/source3/rpc_client/cli_pipe.c
+++ b/source3/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) ||