Reported in Debian: The manpage of smbclient tells the user to use cat for a useless case. cat mymessage.txt | smbclient -M FRED should be smbclient -M FRED < mymessage.txt
Created attachment 2764 [details] Patch with suggested way to fix this bug
Fixed with revision 1221. Thanks for reporting!
If I'm correct, this fix is not yet in released 3.2.0-pre2 while r1220 was.
I checked samba-3.2.0pre2 and the manpage of smbclient is correct: samba-3.2.0pre2/docs/manpages/smbclient.1 ... One useful trick is to pipe the message through smbclient. For example: smbclient -M FRED < mymessage.txt will send the message in the file ▓fImymessage.txt▓fR to the machine FRED. ⌂sp ...