[Samba] Syncing Sysvol

Rowland penny rpenny at samba.org
Tue Jul 16 13:11:25 UTC 2019


On 16/07/2019 14:02, Jonathon Reinhart wrote:
> Rowland,
>
> You could go another step further and run that with "notify" to
> monitor for changes, instead of having to run it in a cron job. In my
> experience, "notify" works using smbclient, but not so with
> libsmbclient.
Problem is, the script is written to be run on DC's that do not hold the 
PDC Emulator FSMO role, so it would have to be re-written.
>
> Another nice benefit of using smbclient + 'samba-tool ntacl
> sysvolreset' over rsync is that you don't need worry about the
> built-in user/group ID mappings, as documented here:
> https://wiki.samba.org/index.php/Joining_a_Samba_DC_to_an_Existing_Active_Directory#Built-in_User_.26_Group_ID_Mappings

Yes, I did consider this.

Rowland





More information about the samba mailing list