[Samba] Provisioning new AD Domain Controller

Mark Foley mfoley at novatec-inc.com
Wed Dec 6 14:45:13 UTC 2023


I have provisioned a new DC with Samba 4.18.5. This DC is intended to replace an
older one in my AD domain. 

The old/current DC has a number of Group Policies set. Can I "rsync"
/var/lib/samba/sysvol/hprs.local/policies/ to my new
/var/lib/samba/sysvol/hprs.locl/Policies/ per 
https://wiki.samba.org/index.php/SysVol_replication_(DFS-R), or will I have to
manually create policies in the new DC?

If copying over the old one is OK, there are already two folders in
/var/lib/samba/sysvol/hprs.locl/Policies/ I'll have to avoid clobbering:

# ls
/var/lib/samba/sysvol/hprs.locl/Policies/\{31B2F340-016D-11D2-945F-00C04FB984F9\}/
GPT.INI*  MACHINE/  USER/

# ls
/var/lib/samba/sysvol/hprs.locl/Policies/\{6AC1786C-016F-11D2-945F-00C04FB984F9\}/
GPT.INI*  MACHINE/  USER/

Thanks --Mark



More information about the samba mailing list