HI! Any suggestion ? Regards; Em 20/05/2021 19:13, Carlos escreveu:> Hi > > I created a new GPO, and on the Windows station, run a gpupdate and I > had a permissions error on the new GPO, when trying to perform a reet > on sysvol, I have this error: > > > samba-tool ntacl sysvolreset > set_nt_acl_conn: init_files_struct failed: > NT_STATUS_OBJECT_NAME_NOT_FOUND > ERROR(runtime): uncaught exception - (3221225524, 'The object name is > not found.') > ? File > "/opt/samba/lib/python3.8/site-packages/samba/netcmd/__init__.py", > line 186, in _run > ??? return self.run(*args, **kwargs) > ? File "/opt/samba/lib/python3.8/site-packages/samba/netcmd/ntacl.py", > line 412, in run > ??? provision.setsysvolacl(samdb, netlogon, sysvol, > ? File > "/opt/samba/lib/python3.8/site-packages/samba/provision/__init__.py", > line 1754, in setsysvolacl > ??? set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, > use_ntvfs, passdb=s4_passdb) > ? File > "/opt/samba/lib/python3.8/site-packages/samba/provision/__init__.py", > line 1641, in set_gpos_acl > ??? set_dir_acl(policy_path, dsacl2fsacl(acl, domainsid), lp, > ? File > "/opt/samba/lib/python3.8/site-packages/samba/provision/__init__.py", > line 1604, in set_dir_acl > ??? setntacl(lp, path, acl, domsid, session_info, use_ntvfs=use_ntvfs, > skip_invalid_chown=True, passdb=passdb, service=service) > ? File "/opt/samba/lib/python3.8/site-packages/samba/ntacls.py", line > 230, in setntacl > ??? smbd.set_nt_acl( > > > My configuration: > > > # Global parameters > [global] > ??????? netbios name = XXXXX > ??????? realm = XXXX.XXXX.COM.BR > ??????? server role = active directory domain controller > ??????? server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, > drepl, winbindd, ntp_signd, kcc, dnsupdate > ??????? workgroup = XXXXXXX > > ??????? ldap server require strong auth = no > > ??????? # Disable Cups > ??????? load printers = no > ??????? printing = bsd > ??????? printcap name = /dev/null > ??????? disable spoolss = yes > > ??????? tls enabled? = yes > ??????? tls keyfile? = tls/myKey.pem > ??????? tls certfile = tls/myCert.pem > ??????? tls cafile?? > > ??????? # Audit > ??????? log level = 1 auth_audit:3 > > > [sysvol] > ??????? path = /opt/samba/var/locks/sysvol > ??????? read only = No > > [netlogon] > ??????? path = /opt/samba/var/locks/sysvol/xxx.xxxx.com.br/scripts > ??????? read only = No > > > ====> > ?samba -V > Version 4.14.2 > > ==> > > S.O.: > > lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description:??? Ubuntu 20.04.2 LTS > Release:??????? 20.04 > Codename:?????? focal > > > ====> > > > Regards; > >