smbclient messaging not responding to control-D

Bug #923744 reported by MarkieB
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
samba (Ubuntu)
New
Medium
Unassigned

Bug Description

sharing is working properly from My computer to the windows 7 computer generally, I transfer files from Nautilus without difficulty;

however when I try to smbclient -M to the windows 7 computer, that has winsent Innocenti LAN messenger, winpopup compatible, although no msg.exe – replacement for net send – in system32, so as far as I know windows 7 home premium is thus capable of receiving messages although not sending them, it initially connects then seems to ignore the control-D 'end of message' code, it's as though smbclient itself is not responding. There is no sign that the control-D action is at all recognized in smbclient. A control-C works, naturally without sending the message though.

Before I installed Innocenti the smbclient -M command was refusing to connect/prompt for a message at all, so it looks as though the windows side of it is working at least basically.

mark@mycomputer:~$ smbclient -U Mark -M WINDOWS-PC
Enter Mark's password:
Type your message, ending it with a Control-D
Hi there!
cli_message returned NT_STATUS_IO_TIMEOUT

as requested in the apport-bug preliminaries, the result of smbclient -L localhost

mark@mycomputer:~$ smbclient -L localhost

Enter mark's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8]

 Sharename Type Comment
 --------- ---- -------
 print$ Disk Printer Drivers
 print Disk
 IPC$ IPC IPC Service (MyComputer server (Samba, Ubuntu))
 MyPrinter Printer My Printer
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.8]

 Server Comment
 --------- -------
 WINDOWS-PC
 MYCOMPUTER MyComputer server (Samba, Ubuntu)

 Workgroup Master
 --------- -------
 WORKGROUP MYCOMPUTER

the result of smbclient -U Mark -L WINDOWS-PC

$ smbclient -U Mark -L WINDOWS-PC
Enter Mark's password:
Domain=[WINDOWS-PC] OS=[Windows 7 Home Premium 7600] Server=[Windows 7 Home Premium 6.1]

 Sharename Type Comment
 --------- ---- -------
 PrinterName Printer PrinterName
 ADMIN$ Disk Remote Admin
 C$ Disk Default share
 D$ Disk Default share
 E$ Disk Default share
 IPC$ IPC Remote IPC
 print$ Disk Printer Drivers
 Users Disk

 Server Comment
 --------- -------

 Workgroup Master
 --------- -------

Looking forward to hearing from someone :-)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: smbclient 2:3.5.8~dfsg-1ubuntu2.3
ProcVersionSignature: Ubuntu 2.6.38-13.54-generic 2.6.38.8
Uname: Linux 2.6.38-13-generic i686
NonfreeKernelModules: wl
Architecture: i386
Date: Mon Jan 30 14:53:21 2012
InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SambaClientRegression: Yes
SourcePackage: samba
UpgradeStatus: Upgraded to natty on 2011-05-30 (245 days ago)

Revision history for this message
MarkieB (ubunt-u-markbenjamin) wrote :
Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Thanks for reporting this bug. Could you verify whether

echo "hello world" > msg.txt
smbclient -U Mark -M WINDOWS-PC < msg.txt

works?

Changed in samba (Ubuntu):
importance: Undecided → Medium
Revision history for this message
MarkieB (ubunt-u-markbenjamin) wrote :

Hi Serge,

thanks for writing, apologies for the delay it looks as though my launchpad emails were going to a list email address that I monitor less frequently;

the behaviour is similar when calling input from a file that way; prompt for password then no action, no responding to ctrl-D, eventual error message as before

Best regards

Mark

Revision history for this message
El Zorro (arzorro) wrote :

Hi,

I've read this thread. And I have the same problem with smbclient. Is there know a solution available ????

El

Revision history for this message
El Zorro (arzorro) wrote :

I mean now ... (not know) sorry

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.