[PATCH] Cygwin: path: Fix UNC path handling for SMB3 mounted to a drive.

Corinna Vinschen corinna-cygwin@cygwin.com
Thu Feb 3 11:36:44 GMT 2022


On Feb  3 19:59, Takashi Yano wrote:
> On Thu, 3 Feb 2022 18:28:32 +0900
> Takashi Yano wrote:
> > On Thu, 3 Feb 2022 09:58:19 +0100
> > Corinna Vinschen wrote:
> > > On Feb  3 17:40, Takashi Yano wrote:
> > > > - If an UNC path is mounted to a drive using SMB3.11, accessing to
> > > >   the drive fails with error "Too many levels of symbolic links."
> > > >   This patch fixes the issue.
> > > I'm curious.  I'm using Samba as well and never saw this problem.
> > > Can you describe how to reproduce?
> > 
> > I used samba under debian stretch last December, and
> > confirmed current code worked without the problem.
> > 
> > Recently, I have upgraded the server OS from stretch
> > to bullseye, and noticed this problem.
> > 
> > Perhaps, samba version and its protocol version may be
> > related.
> > 
> > My samba version is: Version 4.13.13-Debian
> 
> I have just reconfirmed that this problem does not occur
> if samba under debian stretch is used even with SMB3.11.
> 
> Samba version of stretch is: Version 4.5.16-Debian.

Indeed, I can reproduce it.  I'm using Fedora 35 with Samba 4.15.3,
so there's probably a behavioural change.  The reason I didn't
notice it is that I never use drive letters but always UNC paths.

Thanks!


Corinna


More information about the Cygwin-patches mailing list