[Samba] samba-tool ntacl sysvolreset, - open: error=2 (No such file or directory)

Johannes Engel jcnengel at gmail.com
Tue Sep 11 09:16:14 UTC 2018


Hi Niya,

did you try with argument "-U Administrator"? It might be a permission
issue.

Best regards
Johannes

Am Di., 11. Sep. 2018 um 02:17 Uhr schrieb niya via samba <
samba at lists.samba.org>:

> hi everyone
>
> installed and joined a second dc following the instructions at
>
> https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory
> both version are 4.8.2
> when i try to reset t the Sysvol folder's file system access control
> lists on the new dc
> i get the following error
>
> sudo samba-tool ntacl sysvolreset
> open: error=2 (No such file or directory)
> ERROR(runtime): uncaught exception - (3221225473L, '{Operation Failed}
> The requested operation was unsuccessful.')
>    File "/usr/lib/python2.7/site-packages/samba/netcmd/__init__.py",
> line 176, in _run
>      return self.run(*args, **kwargs)
>    File "/usr/lib/python2.7/site-packages/samba/netcmd/ntacl.py", line
> 239, in run
>      lp, use_ntvfs=use_ntvfs)
>    File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1686, in setsysvolacl
>      set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp,
> use_ntvfs, passdb=s4_passdb)
>    File "/usr/lib/python2.7/site-packages/samba/provision/__init__.py",
> line 1579, in set_gpos_acl
>      use_ntvfs=use_ntvfs, skip_invalid_chown=True, passdb=passdb,
> service=SYSVOL_SERVICE)
>    File "/usr/lib/python2.7/site-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)
>
>
> ==================================================================================================================
>
> open: error=2 (No such file or directory) - what  file or directory is
> missing ?
>
> shadrock
>
>
> --
> 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