ntacl sysvolreset fails: no such file or directory
Andrew Bartlett
abartlet at samba.org
Thu Oct 11 03:20:42 MDT 2012
On Thu, 2012-10-11 at 10:36 +0200, Daniele Dario wrote:
> Hi Pekka,
>
> from what I know, sysvol replication is not present neither in rc1 nor
> rc2.
>
> Having a look into the python scripts involved in ntacl sysvolreset
> command you can see that it calls set_gpo_acl (look into
> samba4/samba-master/source4/scripting/python/samba/provision/__init__.py) which expects the presence of the Policy folder (and subfolders).
>
> During a join (not on the provisioned DC) it seems that the Policies
> folder is not created.
> Missing the sysvol replication implies that also Policies branch is
> missing and the script would fail.
>
> The workaround I've found was to copy the sysvol content from the
> primary DC to the joined one (using rsync or other way). Than samba-tool
> ntacl sysvolreset didn't fail.
That's exactly what you need to do. Thanks Daniele!
(If you don't, you won't have GPOs if your clients access the 2nd DC)
Andrew Bartlett
--
Andrew Bartlett http://samba.org/~abartlet/
Authentication Developer, Samba Team http://samba.org
More information about the samba-technical
mailing list