Hello,
on one of my DCs sysvol is missing. Ok, I wanted to copy it from some other DC
but got permission denied. Then I tried
samba-tool ntacl sysvolreset
and got the following error:
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 "/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
412, in run
provision.setsysvolacl(samdb, netlogon, sysvol,
File "/usr/lib/python3/dist-packages/samba/provision/__init__.py",
line 1771, in setsysvolacl
set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp, use_ntvfs,
passdb=s4_passdb)
File "/usr/lib/python3/dist-packages/samba/provision/__init__.py",
line 1647, in set_gpos_acl
setntacl(lp, root_policy_path, POLICIES_ACL, str(domainsid), session_info,
File "/usr/lib/python3/dist-packages/samba/ntacls.py", line 236, in
setntacl
smbd.set_nt_acl(
what can I do to fix that?
Thanks,
Joachim