Linux CIFS filesystem development
 help / color / mirror / Atom feed
* Share mounts in SMBv1 mode, but fails to mount in SMBv2 mode
@ 2017-10-16  7:59 Hadrien Grasland
       [not found] ` <144390dd-e0fc-ae98-a645-5972f11d635d-dJj/bURytuEtnUBFBimtzg@public.gmane.org>
  0 siblings, 1 reply; 14+ messages in thread
From: Hadrien Grasland @ 2017-10-16  7:59 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

Dear CIFS VFS maintainers,

At work, I'm currently mounting our CIFS shares in SMBv1 mode, and it 
works perfectly. But for security reasons, our friendly sysadmins would 
like to drop support for that protocol version in the medium term. So 
I'm trying to mount our network shares in SMBv2 mode instead, which 
hopefully should have just been a matter of adjusting the fstab.

Unfortunately, the mount fails instead, in a way that someone who is not 
a CIFS/kernel specialist cannot easily understand. Can you help me 
figure out what is going on, and hopefully fix this?

hadrien@linux-2ak3:~> uname -r
4.13.5-1-default
hadrien@linux-2ak3:~> /sbin/mount.cifs -V
mount.cifs version: 6.5
hadrien@linux-2ak3:~> sudo mount -v -t cifs //nfsserv22/expsi test -o credentials=<path to credentials file>,vers=2.0
domain=LAL
mount.cifs kernel mount options: ip=134.158.91.155,unc=\\nfsserv22\expsi,vers=2.0,user=grasland,,domain=LAL,pass=********
mount error(95): Operation not supported
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
hadrien@linux-2ak3:~> dmesg | tail
(...)
[ 1553.195516] Status code returned 0xc0000016 STATUS_MORE_PROCESSING_REQUIRED
[ 1553.227109] Status code returned 0xc0000225 STATUS_NOT_FOUND
[ 1553.227118] CIFS VFS: ioctl error in smb2_get_dfs_refer rc=-2
[ 1553.240200] Status code returned 0xc00000bb STATUS_NOT_SUPPORTED
[ 1553.246179] Status code returned 0xc00000bb STATUS_NOT_SUPPORTED
[ 1553.246824] CIFS VFS: cifs_read_super: get root inode failed

I can also provide a wireshark capture of the client-server traffic or 
ask for details of server configuration if you need that. For the later, 
please keep in mind that I'm a total CIFS newbie and be specific about 
what you want to know.

Cheers,
Hadrien Gasaldn

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-11-21  1:10 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-16  7:59 Share mounts in SMBv1 mode, but fails to mount in SMBv2 mode Hadrien Grasland
     [not found] ` <144390dd-e0fc-ae98-a645-5972f11d635d-dJj/bURytuEtnUBFBimtzg@public.gmane.org>
2017-10-16 10:11   ` Aurélien Aptel
     [not found]     ` <mpsd15nv1up.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-10-16 11:35       ` Hadrien Grasland
     [not found]         ` <0b17f092-5c81-3b2e-5e48-b2a4c5b4145a-dJj/bURytuEtnUBFBimtzg@public.gmane.org>
2017-10-16 14:51           ` Aurélien Aptel
     [not found]             ` <mpsa80ruowd.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-10-16 16:05               ` Hadrien Grasland
     [not found]                 ` <9e6bb290-6375-2dfe-8d5b-2128fcc9538d-dJj/bURytuEtnUBFBimtzg@public.gmane.org>
2017-10-16 16:37                   ` Steve French
     [not found]                     ` <CAH2r5mt+pRqKa+drXNUEZwhK4bJBH9AYyu048QpSkBnqd_XXgw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-10-17  9:28                       ` Aurélien Aptel
2017-10-17  9:44                   ` Aurélien Aptel
2017-10-17 12:47               ` [PATCH] CIFS: do not send invalid input buffer on QUERY_INFO requests Aurelien Aptel
     [not found]                 ` <20171017124717.25955-1-aaptel-IBi9RG/b67k@public.gmane.org>
2017-10-17 13:41                   ` Hadrien Grasland
     [not found]                     ` <f87e7391-b2f0-feaf-3489-686d0368fe64-dJj/bURytuEtnUBFBimtzg@public.gmane.org>
2017-10-18 14:50                       ` Aurélien Aptel
     [not found]                         ` <mpspo9ktsr5.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-10-18 20:20                           ` Hadrien Grasland
2017-10-18 16:53                   ` Steve French
2017-11-21  1:10                   ` Pavel Shilovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox