Re: "Bad SMB2 signature for message" with kernel 5.0.0, works with 4.19.0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Paulo,

On Wed, Mar 20, 2019 at 6:50 PM Paulo Alcantara <paulo@xxxxxxxx> wrote:
> Looks like a signing issue when using guest auth in SMB3.11. Could you
> please try mounting it with vers=1.0, vers=2.1 and vers=3.0 and see if
> it works?

vers=1.0 works:
root@ubuntu:~# mount //localhost/pub /mnt -o guest,vers=1.0
root@ubuntu:~# mount -t cifs
//localhost/pub on /mnt type cifs
(rw,relatime,vers=1.0,sec=none,cache=strict,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,soft,unix,posixpaths,serverino,mapposix,acl,rsize=1048576,wsize=65536,echo_interval=60,actimeo=1)
dmesg: http://paste.ubuntu.com/p/qQz3kBkpzM/

vers=2.1 also works:
root@ubuntu:~# mount //localhost/pub /mnt -o guest,vers=2.1
root@ubuntu:~# mount -t cifs
//localhost/pub on /mnt type cifs
(rw,relatime,vers=2.1,sec=none,cache=strict,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=1048576,wsize=1048576,echo_interval=60,actimeo=1)
dmesg: http://paste.ubuntu.com/p/rWSsndKjPN/

vers=3.0 works:
root@ubuntu:~# mount //localhost/pub /mnt -o guest,vers=3.0
root@ubuntu:~# mount -t cifs
//localhost/pub on /mnt type cifs
(rw,relatime,vers=3.0,sec=none,cache=strict,uid=0,noforceuid,gid=0,noforcegid,addr=127.0.0.1,file_mode=0755,dir_mode=0755,soft,nounix,serverino,mapposix,rsize=4194304,wsize=4194304,echo_interval=60,actimeo=1)
dmesg: http://paste.ubuntu.com/p/rVKhYqmTTc/

and just to be complete, vers=3.11 fails:
root@ubuntu:~# mount //localhost/pub /mnt -o guest,vers=3.11
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
dmesg: http://paste.ubuntu.com/p/sprkDFY5XH/



[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux