[Samba] SMB Signing issues... smbclient works, mount does not...

Julian Houghton sarlacii at yahoo.com
Mon Jan 26 20:05:51 GMT 2009

--- On Sun, 25/1/09, Kai Blin <kai at samba.org> wrote:
> smbfs has been deprecated quite a while ago. Please try
> using cifs.

Hi Kai

Thanks for the reply... I will stick to CIFS as you suggest.

Thus, as per my previous posting, smbclient works fine. However, trying to mount with the following command results in the usual error:
[root at localhost ~]# mount -t cifs -o username=user,password=pass,ip=,servern=SERVER //server/share /mnt/share/
mount error 13 = Permission denied
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

A look at messages shows:
[root at localhost cifs]# tail -n 3 /var/log/messages
Jan 26 21:22:15 localhost kernel:  CIFS VFS: Unexpected SMB signature
Jan 26 21:22:15 localhost kernel:  CIFS VFS: Send error in SessSetup = -13
Jan 26 21:22:15 localhost kernel:  CIFS VFS: cifs_mount failed w/return code = -13

My question is, how do I enable SMB Signing for the CIFS kernel module. I'm guessing that I need to add something to the /proc/fs/cifs/ directory?

I cannot find an online resource that lists all the possible module parameters... does one exist (the user manual isn't exhuastive)?


Other info that may relate:

I am running kernel, with tools mount-cifs-3.0.30-3pclos2007 installed. Running modprobe returns the following:
[root at localhost ~]# modinfo cifs.ko
filename:       /lib/modules/
author:         Steve French <sfrench at us.ibm.com>
license:        GPL
description:    VFS to access servers complying with the SNIA CIFS Specification e.g. Samba and Windows
version:        1.49
vermagic: SMP mod_unload 686
srcversion:     30616BA7D30E1F22CF9B850
parm:           cifs_max_pending:Simultaneous requests to server. Default: 50 Range: 2 to 256 (int)
parm:           cifs_min_small:Small network buffers in pool. Default: 30 Range: 2 to 256 (int)
parm:           cifs_min_rcv:Network buffers in pool. Default: 4 Range: 1 to 64 (int)
parm:           CIFSMaxBufSize:Network buffer size (not including header). Default: 16384 Range: 8192 to 130048 (int)


More information about the samba mailing list