Mount DFS share (vers=2.0,SMB2) error

Issues related to applications and software problems
Post Reply
wemo
Posts: 1
Joined: 2017/06/19 07:42:26

Mount DFS share (vers=2.0,SMB2) error

Post by wemo » 2017/06/19 08:09:58

Mounting the DFS share using vers=1.0 is working:
# mount -t cifs -o dom=xxx,username=xxx,password=xxx,uid=xxx,gid=xxx,vers=1.0 //xxx.yy/path/ACC /w
# echo $?
0

But mounting the same DFS share with vers=2.0 gives the following error:
# echo 7 > /proc/fs/cifs/cifsFYI
# mount -t cifs -o dom=xxx,username=xxx,password=xxx,uid=xxx,gid=xxx,vers=2.0 //xxx.yy/path/ACC /w
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

kernel: Status code returned 0xc0000016 STATUS_MORE_PROCESSING_REQUIRED
kernel: Status code returned 0xc00000cc STATUS_BAD_NETWORK_NAME
kernel: CIFS VFS: BAD_NETWORK_NAME: \\nedasconet.nl\Proces
kernel: CIFS VFS: cifs_mount failed w/return code = -2

# echo 0 > /proc/fs/cifs/cifsFYI

Version 2 is enabled on the DFS share. And I already updated the system to the latest patches:
# uname -r
3.10.0-514.21.1.el7.x86_64

Is DFS using vers=2.0 supported on CentOS 7?
If so, any ideas?

hema.arun
Posts: 21
Joined: 2017/02/06 11:56:26

Re: Mount DFS share (vers=2.0,SMB2) error

Post by hema.arun » 2017/08/15 04:30:43

I have the same issue. Any solution for this?

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Mount DFS share (vers=2.0,SMB2) error

Post by TrevorH » 2017/08/15 08:32:03

No idea but the OP was definitely not up to date so the first step is to run yum update then reboot into the new kernel (if there is one) and try again.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply