[Samba] Moving a DC...

Marco Gaiarin gaio at sv.lnf.it
Wed Dec 16 17:22:57 UTC 2020


In my adventure with Samba/AD i've done the 'wrong thing', eg i've used
a container (LXC) for DCs.
Now i want to fix that, moving from LXC to a plain VM.

OK, i can bring up a new set of DCs, join them, and then tear down the
old.


But because containers and VMs is both debian with Lois package, can i
simply 'copy over' configuration files and 'var' files from the container
to the VMs?

I  think will suffices to copy:

	/etc/samba
	/etc/bind
	/etc/krb5.conf
	/etc/ntp.conf
	/etc/nsswitch.conf
	/var/lib/samba
	/var/spool/samba
	/var/log/samba

Someone have just done that, and have a comprehensive set of files and
folder to copy?


Thanks.

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the samba mailing list