cifs.ko + smb 3.0 + DFS fails (though direct mount succeeds)

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

 



environment:

# cat /etc/redhat-release
CentOS Linux release 7.3.1611 (Core)

# uname -r
3.10.0-514.16.1.el7.x86_64

# modinfo cifs
filename:       /lib/modules/3.10.0-514.16.1.el7.x86_64/kernel/fs/cifs/cifs.ko
version:        2.08
description:    VFS to access servers complying with the SNIA CIFS
Specification e.g. Samba and Windows
license:        GPL
author:         Steve French <sfrench@xxxxxxxxxx>
alias:          fs-cifs
rhelversion:    7.3
srcversion:     119ACC0FE17824C08D648CE
depends:        dns_resolver
intree:         Y
vermagic:       3.10.0-514.16.1.el7.x86_64 SMP mod_unload modversions
signer:         CentOS Linux kernel signing key
sig_key:        3F:E1:EB:8B:4F:91:D4:84:CD:55:44:84:54:A0:24:DE:56:34:E1:06
sig_hashalgo:   sha256
parm:           CIFSMaxBufSize:Network buffer size (not including
header). Default: 16384 Range: 8192 to 130048 (uint)
parm:           cifs_min_rcv:Network buffers in pool. Default: 4
Range: 1 to 64 (uint)
parm:           cifs_min_small:Small network buffers in pool. Default:
30 Range: 2 to 256 (uint)
parm:           cifs_max_pending:Simultaneous requests to server.
Default: 32767 Range: 2 to 32767. (uint)
parm:           enable_oplocks:Enable or disable oplocks. Default: y/Y/1 (bool)



issue:

01) smb vers=1.0 + DFS works as expected:

# mount -v -t cifs //my.domain/dfs/path /mnt -o
"ro,vers=1.0,domain=my.domain,username=silly_user"
# echo $?
0


02) smb vers=3.0 + DFS fails with:

# echo 7 > /proc/fs/cifs/cifsFYI ; mount -v -t cifs
//my.domain/dfs/path /mnt -o
"ro,vers=3.0,domain=my.domain,username=silly_user"; sleep 5 ; echo 0 >
/proc/fs/cifs/cifsFYI ; dmesg |tail -3

mount error(38): Function not implemented
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
[273116.707979] Status code returned 0xc0000016 STATUS_MORE_PROCESSING_REQUIRED
[273116.712186] Status code returned 0xc0000257 STATUS_PATH_NOT_COVERED
[273116.713723] CIFS VFS: cifs_mount failed w/return code = -38


03) smb vers=3.0 w/o CFS works as expected

# mount -v -t cifs //real.win2k12.server/non-dfs/path /mnt -o
"ro,vers=3.0,domain=my.domain,username=silly_user
# echo $?
0



Is there another incantation of mount -t cifs to get smbv3 + DFS
working? Or is this a known issue (and if so, is there a work-around)
?

Thanks in advance!
--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux