Group Policy - "The security ID structure is invalid"

When creating Group Policy Objects, I am getting the following error

ErrorCode 1337
ErrorDescription The security ID structure is invalid

I tried to run samba-tool ntacl sysvolreset, but python crashes:

root@dc1:~/sysvol/Policies# samba-tool ntacl sysvolreset
ERROR(<class 'TypeError'>): uncaught exception - 'NTSTATUSError' object is not subscriptable
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/samba/netcmd/ntacl.py", line 415, in run
    resume_on_error=True)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1788, in setsysvolacl
    _setntacl(os.path.join(root, name))
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1780, in _setntacl
    logger=logger, resume_on_error=resume_on_error)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1618, in set_nt_acl_wrapper
    err_value = ctypes.c_uint32(error[0]).value

I’m using RSAT under Windows 10

Has anyone seen this and/or resolved it?

Gerald

Has anyone run into this issue and solved it?

Gerald

Did you find a solution in the meantime?

I’ve got a similar error (disks are not full)

set_nt_acl_conn: set_nt_acl_no_snum: fset_nt_acl returned NT_STATUS_DISK_FULL.
ERROR(<class 'TypeError'>): uncaught exception - 'NTSTATUSError' object is not subscriptable
  File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 230, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/samba/netcmd/ntacl.py", line 416, in run
    resume_on_error=True)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1796, in setsysvolacl
    use_ntvfs, passdb=s4_passdb, logger=logger, resume_on_error=resume_on_error)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1680, in set_gpos_acl
    resume_on_error=resume_on_error)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1630, in set_dir_acl
    logger=logger, resume_on_error=resume_on_error)
  File "/usr/lib/python3/dist-packages/samba/provision/__init__.py", line 1618, in set_nt_acl_wrapper
    err_value = ctypes.c_uint32(error[0]).value

I did not, sorry.

(This text placed here to meet the minimum character requirements)

Mastodon