Too many level of symbolic links (still have problem with sbmfs network drives)
Philippe Debanne
p.debanne@polymtl.ca
Mon Mar 7 15:32:51 GMT 2022
Hello Takashi,
sorry for the delay. I don't manage the server in question, so I can't
call 'smbstatus' directly on it, but if it's any indication of version
there is a path :
/usr/share/doc/samba-4.10.16/
Also, attached is the /etc/smb.conf file, somewhat redacted.
Thanks for looking at this.
Philippe
Le 2022-03-07 à 10:14, Takashi Yano a écrit :
> On Sat, 5 Mar 2022 11:23:26 +0900
> Takashi Yano wrote:
>> On Fri, 4 Mar 2022 15:43:55 -0500
>> Philippe Debanne wrote:
>>> Hello Cygwin list,
>>>
>>> Since updating my Cygwin installation to the latest version, I am having
>>> the problem of "Too many levels of symbolic links" on certain network
>>> drives, that was reported in other threads. I tried replacing the
>>> 'cygwin1.dll' with the snapshots from 2022-02-17 and 2022-03-01
>>> (x86_64). This did fix the link to one of the network drives, but not
>>> others.
>>>
>>> The mount command in my case gives :
>>>
>>> $ mount
>>> D:/cygwin64/bin on /usr/bin type ntfs (binary,auto)
>>> D:/cygwin64/lib on /usr/lib type ntfs (binary,auto)
>>> D:/cygwin64 on / type ntfs (binary,auto)
>>> C: on /cygdrive/c type ntfs (binary,posix=0,user,noumount,auto)
>>> D: on /cygdrive/d type ntfs (binary,posix=0,user,noumount,auto)
>>> L: on /cygdrive/l type cifs (binary,posix=0,user,noumount,auto)
>>> V: on /cygdrive/v type smbfs (binary,posix=0,user,noumount,auto)
>>> W: on /cygdrive/w type smbfs (binary,posix=0,user,noumount,auto)
>>> X: on /cygdrive/x type smbfs (binary,posix=0,user,noumount,auto)
>>> Y: on /cygdrive/y type smbfs (binary,posix=0,user,noumount,auto)
>>> Z: on /cygdrive/z type smbfs (binary,posix=0,user,noumount,auto)
>>>
>>> No problem with the local drives, and I can now go to the X: drive
>>> thanks to the recent snapshot. But not other 'smbfs' ones :
>>>
>>> $ cd Z:
>>> -bash: cd: Z:: Too many levels of symbolic links
>>>
>>> Any ideas what could be wrong ? It seems to be limited to certain SAMBA
>>> shared drives.
>> Hmm, could you please provide the version of samba
>> and hopefully smb.conf file if possible?
> I cannot reproduce your problem, so more information
> is required.
>
>
-------------- next part --------------
[global]
workgroup = DEPT
realm = DEPT.INSTITUTION.CA
netbios name = groupefs
security = ADS
idmap config *:backend = tdb
idmap config *:range = 200-999
idmap config DEPT:backend = ad
idmap config DEPT:schema_mode = rfc2307
idmap config DEPT:range = 1000-999999
idmap config DEPT : read only = yes
winbind nss info = rfc2307
client signing = yes
client use spnego = yes
kerberos method = secrets and keytab
log file = /var/log/samba/%m.log
log level = 1 auth:5 winbind:5
host msdfs = Yes
hosts allow = 127.0.0.1 (...)
hosts deny = 0.0.0.0/0
smb ports = 445 139
acl allow execute always = True
[homes]
comment = homes
read only = No
directory mask = 0700
force directory mode = 0700
create mask = 0600
force create mode = 0600
browseable = No
valid users = %S
follow symlinks = yes
[recherche$]
comment = Section Groupe Recherche
path = /store2/share/recherche
valid users = @recherche
#force user = root
force group = recherche
read only = No
create mask = 0660
directory mask = 0770
[recherche2$]
comment = Section Groupe Recherche2
path = /store2/share/recherche2
valid users = @recherche,user1,user2,user3
#force user = root
force group = recherche
read only = No
create mask = 0660
directory mask = 0770
More information about the Cygwin
mailing list