Re: PROBLEM: DFS Caching feature causing problems traversing multi-tier DFS setups

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

 



Hi Paulo,

Apologies for the delay.

I built the patch you placed at the end of your message into a test kernel for
our customer, based on 5.4-rc7. I also sent the customer a vanilla 5.4-rc7 to
test against, to see if the patch is what fixes the problem.

The customer just got back to me, and confirmed that vanilla 5.4-rc7 fails to
mount their multi tier DFS share, and the patched 5.4-rc7 with the patch you
provided successfully mounts their multi tier DFS share.

Not working - Vanilla 5.4-rc7
$ uname -rv
5.4.0-rc7 #4 SMP Wed Nov 13 17:23:52 NZDT 2019
$ sudo mount -v -t cifs //company.com/folders/country/<share> -o
defaults,user=<user> /mnt/share
Password for <user>@//company.com/folders/country/<share>: ************
mount.cifs kernel mount options: ip=<IPv4
Address>,unc=\\company.com\folders,user=<user>,prefixpath=country/<share>,pass=**********
mount error(2): No such file or directory
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

Working - Patched 5.4-rc7 with https://paste.ubuntu.com/p/DnCTNMjQJC/
$ uname -rv
5.4.0-rc7+upstreampatch1+ #3 SMP Wed Nov 13 16:42:34 NZDT 2019
$ sudo mount -v -t cifs //company.com/folders/country/<share> -o
defaults,user=<user> /mnt/share
Password for <user>@//company.com/folders/country/<share>: ************
mount.cifs kernel mount options: ip=<IPv4
Address>,unc=\\company.com\folders,user=<user>,prefixpath=country/<share>,pass=**********
$ cd /mnt/share/
:/mnt/share$ ll
total 4
drwxr-xr-x 2 root root 0 Oct 18 2017 ./
drwxr-xr-x 3 root root 4096 Nov 19 15:51 ../
drwxr-xr-x 2 root root 0 Oct 23 15:27 <Directory>/
drwxr-xr-x 2 root root 0 Aug 13 2018 <Directory 2>/

Please, go ahead and prepare the patch for mainline inclusion, and as Steve
mentioned before, consider cc stable.

Thank you for developing the fix quickly.

Matthew Ruffell
Sustaining Engineer @ Canonical



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

  Powered by Linux