Carlos carlos.hollow at gmail.com
Thu May 20 22:13:42 UTC 2021


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.')
"/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,
line 1754, in setsysvolacl
     set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, 
use_ntvfs, passdb=s4_passdb)
line 1641, in set_gpos_acl
     set_dir_acl(policy_path, dsacl2fsacl(acl, domainsid), lp,
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

My configuration:

# Global parameters
         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

         path = /opt/samba/var/locks/sysvol
         read only = No

         path = /opt/samba/var/locks/sysvol/xxx.xxxx.com.br/scripts
         read only = No


  samba -V
Version 4.14.2



lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:        20.04
Codename:       focal



More information about the samba mailing list