All of lore.kernel.org
 help / color / mirror / Atom feed
* cifs.ko + smb 3.0 + DFS fails (though direct mount succeeds)
@ 2017-04-20 20:09 Robin Blanchard
       [not found] ` <CAJUwKM3-U2yRHB5O-R19wmzj1-yrO3sU_b8+xVCFaFwsZRWtTA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 8+ messages in thread
From: Robin Blanchard @ 2017-04-20 20:09 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

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-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
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!

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

end of thread, other threads:[~2017-06-20 14:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-20 20:09 cifs.ko + smb 3.0 + DFS fails (though direct mount succeeds) Robin Blanchard
     [not found] ` <CAJUwKM3-U2yRHB5O-R19wmzj1-yrO3sU_b8+xVCFaFwsZRWtTA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-04-20 20:14   ` Steve French
     [not found]     ` <CAH2r5mvn_Z5B=kYza1gAr3SkPX+kwKmXBEXcTBL327zcW8FP-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-14 18:18       ` Robin Blanchard
     [not found]         ` <CAJUwKM25Kd-BHgPNXHkTtvYvK1Ad5uaLkooG6i4H+kawDL1ACg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-06-16  9:06           ` Aurélien Aptel
     [not found]             ` <mpsmv98ti7d.fsf-zpEvHKhluMwYitT5tn2FcQ@public.gmane.org>
2017-06-16 15:42               ` Christian Garling
     [not found]                 ` <CDE2E2CE-EE67-44AE-A0C8-D3AFF6EAAA01-JDaHaePr6SMW6PBduJaimg@public.gmane.org>
2017-06-19 10:59                   ` Aurélien Aptel
     [not found]                     ` <58abb375-f7fb-58ec-4786-9ebd202fffa3@cg-networks.de>
     [not found]                       ` <58abb375-f7fb-58ec-4786-9ebd202fffa3-JDaHaePr6SMW6PBduJaimg@public.gmane.org>
2017-06-20 12:02                         ` Aurélien Aptel
2017-06-20 14:14               ` Robin Blanchard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.