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. > > LGTM, please push.
Thanks for reviewing. > 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 This also happens with shared folder under Windows 10 in my environment. Win10 version is: Microsoft Windows [Version 10.0.19044.1466] The reproducible steps are as follows. $ net use z: '\\server\sharedname' The command completed successfully. $ cd /cygdrive/z /cygdrive/z: Too many levels of symbolic links. $ -- Takashi Yano <takashi.y...@nifty.ne.jp>