mount.cifs on Win2k8 DFS servers
gerlando.falauto at keymile.com
Mon Oct 17 09:04:22 MDT 2011
> I think this should be fixed in later kernels... I worked with Jeff
> and Steve to get some patches in for what I think is the same issue
> you're describing, and iirc they landed just after 2.6.39 but before 3.0.
I doubted it could have gone unnoticed for such long a time. I had
looked up the samba bugzilla but of course the bug report was on the
kernel's one. :-)
So I guess you're talking about these two little fellas:
Which I painlessly merged and tested on my 184.108.40.206 and are working fine
(external behvaviour seems consistent with my ugly patch in that it
retries after a regular mount).
Two newbie-like comments though:
1) I would've expected a more radical fix by skipping to DFS referal
altogether when server has DFS capabilities, even before trying a
regular connect, so to make it consistent with smbclient.
Which (as far as I can tell) has been working like this for a looong time.
2) Shouldn't this/these patch/es also make it into earlier kernels as it
is a (not-so-negligible) bugfix?
Thank you for your patience!
More information about the samba-technical