[Samba] Missing Policies directory -> how to recreate it?

Andrey Repin anrdaemon at yandex.ru
Tue Nov 24 16:48:54 UTC 2015

Greetings, mathias dufresne!

> As I'm dumb, last time I played to update Samba version I forgot to keep a
> copy Policies directory in $samba_dir/sysvol/$samba_domain_name/.

> Is there any command to rebuild that directory with default policies?

> If there is not, are the IDs of default policies are always the same or
> samba generates this IDs? If they are always the same I would be able to
> copy them from another domain, a blank one.

samba-tool ntacl sysvolreset

That should hopefully recreate the structure.

With best regards,
Andrey Repin
Tuesday, November 24, 2015 19:47:19

Sorry for my terrible english...

More information about the samba mailing list