[Pkg-samba-maint] Bug#723181: samba: smbclient -M error "cli_message returned NT_STATUS_PIPE_BROKEN"
Michael Franzl
office at michaelfranzl.com
Tue Sep 17 05:40:30 UTC 2013
Package: samba
Version: 2:3.6.6-6
Severity: normal
Dear Maintainer,
I am attempting to send a samba message from the command line like this
echo test | smbclient -d11 -M MICHAEL-VBOX -N
This returns with the error
cli_message returned NT_STATUS_PIPE_BROKEN
The same command with debug level 11 gives:
INFO: Current debug levels:
all: 11
tdb: 11
printdrivers: 11
lanman: 11
smb: 11
rpc_parse: 11
rpc_srv: 11
rpc_cli: 11
passdb: 11
sam: 11
auth: 11
winbind: 11
vfs: 11
idmap: 11
quota: 11
acls: 11
locking: 11
msdfs: 11
dmapi: 11
registry: 11
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
INFO: Current debug levels:
all: 11
tdb: 11
printdrivers: 11
lanman: 11
smb: 11
rpc_parse: 11
rpc_srv: 11
rpc_cli: 11
passdb: 11
sam: 11
auth: 11
winbind: 11
vfs: 11
idmap: 11
quota: 11
acls: 11
locking: 11
msdfs: 11
dmapi: 11
registry: 11
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter message command = /usr/local/bin/linpopup "%f" "%m" %s; rm %s
doing parameter netbios name = Michael
handle_netbios_name: set global_myname to: MICHAEL
doing parameter server string =
doing parameter workgroup = Home
doing parameter security = share
doing parameter hosts allow = 127. 192.168.
doing parameter interfaces = 127.0.0.1/8 192.168.24.0/24
doing parameter bind interfaces only = yes
doing parameter remote announce = 192.168.24.255
doing parameter remote browse sync = 192.168.24.255
doing parameter printcap name = cups
doing parameter load printers = yes
doing parameter cups options = raw
doing parameter printing = cups
doing parameter guest account = nobody
doing parameter log file = /var/log/samba/samba.log
doing parameter max log size = 1000
doing parameter null passwords = no
WARNING: The "null passwords" option is deprecated
doing parameter username level = 6
doing parameter password level = 6
WARNING: The "password level" option is deprecated
doing parameter encrypt passwords = yes
doing parameter unix password sync = yes
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter local master = no
doing parameter domain master = no
doing parameter preferred master = no
doing parameter domain logons = no
doing parameter os level = 33
doing parameter logon drive = m:
doing parameter logon home = \\%L\homes\%u
doing parameter logon path = \\%L\profiles\%u
doing parameter logon script = %G.bat
doing parameter time server = no
doing parameter name resolve order = wins lmhosts bcast
doing parameter wins support = no
doing parameter wins proxy = no
doing parameter dns proxy = no
doing parameter preserve case = yes
doing parameter short preserve case = yes
doing parameter client use spnego = no
doing parameter client signing = no
doing parameter client schannel = no
doing parameter server signing = no
doing parameter server schannel = no
doing parameter nt pipe support = yes
doing parameter nt status support = yes
doing parameter allow trusted domains = no
doing parameter obey pam restrictions = yes
doing parameter enable spoolss = yes
doing parameter client plaintext auth = no
doing parameter disable netbios = no
doing parameter update encrypted = yes
Unknown parameter encountered: "update encrypted"
Ignoring unknown parameter "update encrypted"
doing parameter pam password change = no
doing parameter passwd chat timeout = 120
doing parameter hostname lookups = no
doing parameter username map = /etc/samba/smbusers
doing parameter passdb backend = tdbsam
doing parameter passwd program = /usr/bin/passwd '%u'
doing parameter passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
doing parameter add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
doing parameter add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
doing parameter add group script = /usr/sbin/groupadd '%g'
doing parameter delete user script = /usr/sbin/userdel '%u'
doing parameter delete user from group script = /usr/sbin/userdel '%u' '%g'
doing parameter delete group script = /usr/sbin/groupdel '%g'
doing parameter add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
doing parameter machine password timeout = 120
doing parameter idmap uid = 16777216-33554431
WARNING: The "idmap uid" option is deprecated
doing parameter idmap gid = 16777216-33554431
WARNING: The "idmap gid" option is deprecated
doing parameter template shell = /dev/null
doing parameter winbind use default domain = yes
doing parameter winbind separator = @
doing parameter winbind cache time = 360
doing parameter winbind trusted domains only = yes
doing parameter winbind nested groups = no
doing parameter winbind nss info = no
doing parameter winbind refresh tickets = no
doing parameter winbind offline logon = no
doing parameter unix extensions = no
pm_process() returned Yes
lp_servicenumber: couldn't find homes
set_server_role: role = ROLE_STANDALONE
WARNING: The security=share option is deprecated
Substituting charset 'UTF-8' for LOCALE
interpret_interface: Adding interface 127.0.0.1/8
added interface 127.0.0.1/8 ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
interpret_interface: using netmask value 24 from config file on interface eth0
added interface eth0 ip=192.168.24.112 bcast=192.168.24.255 netmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="MICHAEL"
Client started (version 3.6.6).
Opening cache file at /var/run/samba/gencache.tdb
tdb(/var/run/samba/gencache.tdb): tdb_open_ex: could not open file /var/run/samba/gencache.tdb: Permission denied
gencache_init: Opening cache file /var/run/samba/gencache.tdb read-only.
Opening cache file at /var/run/samba/gencache_notrans.tdb
sitename_fetch: No stored sitename for
internal_resolve_name: looking up MICHAEL-VBOX#3 (sitename (null))
no entry for MICHAEL-VBOX#03 found.
resolve_wins: Attempting wins lookup for name MICHAEL-VBOX<0x3>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_lmhosts: Attempting lmhosts lookup for name MICHAEL-VBOX<0x3>
resolve_lmhosts: Attempting lmhosts lookup for name MICHAEL-VBOX<0x3>
startlmhosts: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
name_resolve_bcast: Attempting broadcast lookup for name MICHAEL-VBOX<0x3>
bind succeeded on port 0
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 1
SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 229376
SO_RCVBUF = 229376
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
Could not test socket option TCP_QUICKACK.
bind succeeded on port 0
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 1
SO_BROADCAST = 1
Could not test socket option TCP_NODELAY.
Could not test socket option TCP_KEEPCNT.
Could not test socket option TCP_KEEPIDLE.
Could not test socket option TCP_KEEPINTVL.
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 229376
SO_RCVBUF = 229376
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
Could not test socket option TCP_QUICKACK.
parse_nmb: packet id = 9235
nmb packet from 192.168.24.121(35072) header: id=9235 opcode=Query(0) response=Yes
header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=Yes
header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
answers: nmb_name=MICHAEL-VBOX<03> rr_type=32 rr_class=1 ttl=300000
answers 0 char .....y hex 0000C0A81879
Got a positive name query response from 192.168.24.121 ( 192.168.24.121 )
remove_duplicate_addrs2: looking for duplicate address/port pairs
namecache_store: storing 1 address for MICHAEL-VBOX#03: 192.168.24.121
Adding cache entry with key = NBT/MICHAEL-VBOX#03 and timeout = Tue Sep 17 07:45:30 2013
(660 seconds ahead)
internal_resolve_name: returning 1 addresses: 192.168.24.121:0
s3_event: Added timed event "tevent_req_timedout": 0x7f58c1d1a140
Connecting to 192.168.24.121 at port 139
s3_event: Added timed event "tevent_req_timedout": 0x7f58c1d1a550
s3_event: Destroying timer event 0x7f58c1d1a550 "tevent_req_timedout"
s3_event: Destroying timer event 0x7f58c1d1a140 "tevent_req_timedout"
Socket options:
SO_KEEPALIVE = 0
SO_REUSEADDR = 0
SO_BROADCAST = 0
TCP_NODELAY = 1
TCP_KEEPCNT = 9
TCP_KEEPIDLE = 7200
TCP_KEEPINTVL = 75
IPTOS_LOWDELAY = 0
IPTOS_THROUGHPUT = 0
SO_SNDBUF = 16384
SO_RCVBUF = 16384
SO_SNDLOWAT = 1
SO_RCVLOWAT = 1
SO_SNDTIMEO = 0
SO_RCVTIMEO = 0
TCP_QUICKACK = 1
Substituting charset 'UTF-8' for LOCALE
write_socket(5,72)
write_socket(5,72) wrote 72
Sent session request
got smb length of 0
size=0
smb_com=0x0
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=0
smb_flg2=0
smb_tid=0
smb_pid=0
smb_uid=0
smb_mid=0
smt_wct=0
smb_bcc=0
lang_tdb_init: /usr/share/samba/en_US:en.msg: No such file or directory
Type your message, ending it with a Control-D
s3_event: Added timed event "tevent_req_timedout": 0x7f58c1d238c0
s3_event: Schedule immediate event "tevent_queue_immediate_trigger": 0x7f58c1cf7a00
s3_event: Run immediate event "tevent_queue_immediate_trigger": 0x7f58c1cf7a00
s3_event: Destroying timer event 0x7f58c1d238c0 "tevent_req_timedout"
cli_message returned NT_STATUS_PIPE_BROKEN
-- System Information:
Debian Release: 7.1
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba depends on:
ii adduser 3.113+nmu3
ii debconf [debconf-2.0] 1.5.49
ii dpkg 1.16.10
ii libacl1 2.2.51-8
ii libattr1 1:2.4.46-8
ii libc6 2.13-38
ii libcap2 1:2.22-1.2
ii libcomerr2 1.42.5-1.1
ii libcups2 1.5.3-5
ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u1
ii libk5crypto3 1.10.1+dfsg-5+deb7u1
ii libkrb5-3 1.10.1+dfsg-5+deb7u1
ii libldap-2.4-2 2.4.31-1+nmu2
ii libpam-modules 1.1.3-7.1
ii libpam-runtime 1.1.3-7.1
ii libpam0g 1.1.3-7.1
ii libpopt0 1.16-7
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.10-2
ii libwbclient0 2:3.6.6-6
ii lsb-base 4.1+Debian8+deb7u1
ii procps 1:3.3.3-3
ii samba-common 2:3.6.6-6
ii update-inetd 4.43
ii zlib1g 1:1.2.7.dfsg-13
Versions of packages samba recommends:
ii logrotate 3.8.1-4
ii tdb-tools 1.2.10-2
Versions of packages samba suggests:
pn ctdb <none>
pn ldb-tools <none>
pn openbsd-inetd | inet-superserver <none>
pn smbldap-tools <none>
-- debconf information:
samba/run_mode: daemons
samba-common/title:
More information about the Pkg-samba-maint
mailing list