contactdarin at posteo.net
2024-Jun-14 22:58 UTC
[Samba] New sysvol script for dynamic sysvol replication
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
Rowland Penny
2024-Jun-16 07:31 UTC
[Samba] New sysvol script for dynamic sysvol replication
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. Rowland