[Samba] New sysvol script for dynamic sysvol replication

Rowland Penny rpenny at samba.org
Sun Jun 16 07:31:55 UTC 2024

On Fri, 14 Jun 2024 22:58:51 +0000
Darin via samba <samba at lists.samba.org> wrote:

> Hello,
> I have written a python script that does sysvol replication
> dynamically with DNS queries to find the PDC Emulator master and
> syncing over SMB. It is not terribly complex but if you run it on
> every domain controller it will allow you to seamlessly transfer
> roles without making a bunch of changes on each domain controller. It
> also should be fairly secure as it uses SMB. I initially was going to
> use the Gnome virtual file system (GVFS) but it ended up being to
> complex to implement in a small script. I hope this is useful for
> someone.
> https://codeberg.org/darin755/Linux-AD/src/branch/main/sysvolrepl
> Thank you,
> Darin

After a quick scan of your code, I feel that I must point out that it
would be better using kerberos instead of a credentials file.


More information about the samba mailing list