[Samba] sysvolreset - open: error=40 (Too many levels of symbolic links)

L.P.H. van Belle belle at bazuin.nl
Wed Mar 14 12:32:14 UTC 2018


Hai, 

No, i have not seen the (Too many levels of symbolic links)  before.. 

Samba version ? Running on OS ? 
That might be very handy to know. 

Did you upgrade, if so, from .. To ...  Samba version ? 

And why was running : samba-tool ntacl sysvolreset needed? 



Greetz, 

Louis


> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] Namens 
> Elias Pereira via samba
> Verzonden: woensdag 14 maart 2018 13:24
> Aan: samba
> Onderwerp: [Samba] sysvolreset - open: error=40 (Too many 
> levels of symbolic links)
> 
> hi folks,
> 
> After run *samba-tool ntacl sysvolreset *the below error occurs. I not
> remember of make any modification directly on the server. I 
> only manager
> via rsat.
> 
> root at dc3:/etc/samba# samba-tool ntacl sysvolreset
> *open: error=40 (Too many levels of symbolic links)*
> ERROR(runtime): uncaught exception - (-1073741823, 
> '{Operation Failed} The
> requested operation was unsuccessful.')
>   File 
> "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
> 176, in _run
>     return self.run(*args, **kwargs)
>   File 
> "/usr/lib/python2.7/dist-packages/samba/netcmd/ntacl.py", line 239,
> in run
>     lp, use_ntvfs=use_ntvfs)
>   File 
> "/usr/lib/python2.7/dist-packages/samba/provision/__init__.py", line
> 1600, in setsysvolacl
>     passdb=s4_passdb, service=SYSVOL_SERVICE)
>   File "/usr/lib/python2.7/dist-packages/samba/ntacls.py", 
> line 162, in
> setntacl
>     smbd.set_nt_acl(file, security.SECINFO_OWNER | 
> security.SECINFO_GROUP |
> security.SECINFO_DACL | security.SECINFO_SACL, sd, service=service)
> 
> root at dc3:/etc/samba# samba-tool dbcheck --cross-ncs 
> --reset-well-known-acls
> --fix --yes
> Checking 8601 objects
> Checked 8601 objects (0 errors)
> 
> # Global parameters
> [global]
>         netbios name = DC3
>         realm = CAMPUS.EXAMPLE.INTRA
>         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, 
> kdc, drepl,
> winbindd, ntp_signd, kcc, dnsupdate
>         workgroup = CAMPUS
>         server role = active directory domain controller
>         idmap_ldb:use rfc2307 = yes
>         ldap server require strong auth = no
> 
> [netlogon]
>         path = /var/lib/samba/sysvol/campus.example.intra/scripts
>         read only = No
> 
> [sysvol]
>         path = /var/lib/samba/sysvol
>         read only = No
> 
> Has anyone ever had this problem?
> 
> -- 
> Elias Pereira
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
> 
> 




More information about the samba mailing list