summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-17 17:39:00 +0000
committerGerald Carter <jerry@samba.org>2004-03-17 17:39:00 +0000
commitf6984bd0731d78a9777b54626ebd502480577878 (patch)
treed50cbfd410c3ea159c10e95a5d6bd58df9e0296a
parent2b7f6b1f8357b726e1b26e049149c8a7ae141911 (diff)
downloadsamba-f6984bd0731d78a9777b54626ebd502480577878.tar.gz
samba-f6984bd0731d78a9777b54626ebd502480577878.tar.bz2
samba-f6984bd0731d78a9777b54626ebd502480577878.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 234800eeb61f4874e1d178aa0d901eeb360fea2f)
-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) ||