[Samba] Time capsule and "bad smb"

Pietro Battiston toobaz at email.it
Fri Feb 13 17:28:25 GMT 2009


Hello,

I'm having trouble connecting to an Apple Time Capsule's smb shares.

The connection doesn't work, and with "dmesg" I see the following
message, repeated every time I try:

[26937.531511]  CIFS VFS: RFC1001 size 39 bigger than SMB for Mid=4
[26937.531580] Bad SMB: : dump of 48 bytes of data at 0xffff880052832380
[26937.531615]  00000027 424d53ff 00000074 00018800 ' . . . � S M B
t . . . . . . .
[26937.531647]  00000000 00000000 00000000
56e00000 . . . . . . . . . . . . . . � V
[26937.531677]  00040000 0000ff03 00000000 00000000 . . . . .
� . . . . . . . . . .
[26965.379794]  CIFS VFS: server not responding
[26965.379868]  CIFS VFS: No response to cmd 116 mid 4
[26965.516535]  CIFS VFS: cifs_mount failed w/return code = -6


Here is the command I use (I changed only the password) and the
response:

pietro at vousci:~$ sudo mount.cifs //192.168.1.100/"Time Capsule Famiglia
Battiston"/battiston /media/timecapsule/ -o pass=passw0rd
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


This has been reported as working from other Time Capsule users (see [1]
and [2]).

[1]: http://ubuntuforums.org/showthread.php?t=670535
[2]: http://www.javaservercode.com/?p=43

My configuration: I tried the command, and got the same result, in:
- a 64 bit Ubuntu Intrepid 8.10 (kernel 2.6.27-7-generic, smbfs package
version is 2:3.2.3-1ubuntu3*) connected directly to the Time Capsule
- a 64 bit Ubuntu Jaunty 9.04 (kernel 2.6.28-7-generic, smbfs package
2:3.2.5-4ubuntu1*) connected directly (wired) to the Time Capsule
- a 32 bit Ubuntu (kernel 2.6.24-23-generic, mount.cifs version
1.10-3.0.28a) connected to it through another router.

I googled for similar errors, but found nothing useful. I mean, I found
posts about configuring issues for a smb server, but in my case the
server appears to work fine, since I access it OK from an OS X computer,
if I say "connect to server smb://192.168.1.100". So apparently the
device itself is OK.

Is Apple known to use a non standard protocol?

* I report the version of the Ubuntu package, because in those two
recent versions, "mount.cifs -V" doesn't print the version number, but
only some help, in which is included:
	"To display the version number of the mount helper:
	mount.cifs -V"

thank you for any info

Pietro Battiston
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Questa =?ISO-8859-1?Q?=E8?= una parte del messaggio
	firmata digitalmente
Url : http://lists.samba.org/archive/samba/attachments/20090213/e4898744/attachment.bin


More information about the samba mailing list