Bug 8756 - smbclient NT_STATUS_PIPE_BROKEN
Summary: smbclient NT_STATUS_PIPE_BROKEN
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.6.3
Hardware: x64 Linux
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
Depends on:
Reported: 2012-02-10 19:19 UTC by churnd
Modified: 2012-02-10 21:40 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description churnd 2012-02-10 19:19:29 UTC
Directly related to this bug:  https://bugzilla.samba.org/show_bug.cgi?id=8338

I downloaded & compiled SAMBA 3.6.3 on openSUSE 10.3 x86_64 due to compatibility issues that I've been having with my Lion server.  The status on the previous bug indicates that the issue has been fixed, but I'm having the exact same symptoms as the user who made comment 7 https://bugzilla.samba.org/show_bug.cgi?id=8338#c7.  I commented on that bug but wasn't sure if anyone would see it since it was closed, so I opened a new issue.  Does 3.6.3 have this patch?
 Do I have to patch myself or revert to an older version? 

Many thanks.
Comment 1 churnd 2012-02-10 20:21:27 UTC
I tried to patch 3.6.3 using:


"patch -p1 < testpatch.patch"

Trying to compile with that results in:

Compiling rpc_client/cli_pipe_schannel.c
Compiling rpc_client/init_netlogon.c
Compiling rpc_client/init_samr.c
creating /data/irc/samba-3.6.3/source3/exports/libnetapi.syms
Linking shared library bin/libnetapi.so.0
libsmb/clireadwrite.o: In function `cli_read_andx_create':
clireadwrite.c:(.text+0x14d0): undefined reference to `cli_state_capabilities'
collect2: ld returned 1 exit status
make: *** [bin/libnetapi.so.0] Error 1
Comment 2 churnd 2012-02-10 21:40:50 UTC
Nevermind, please close this.  I used the wrong patch.

I used:

Instead of:

The difference was cli_state_capabilities vs cli->capabilities