[Samba] Moving SAMBA PDC to another machine.

Marc Harding mharding at ecwebworks.com
Thu Oct 9 16:58:44 GMT 2003


I am sorry if this has been covered before, my searches have found
variations in results.

I am using a Redhat 9 build with the Samba 2.2.7a RPM from Redhat.  I am
planning to move all of the services from this machine to another Redhat 9
machine.  It will take the IP address and hostname of the original machine.


What I need to make sure is if I simply backup the files in /etc/samba
(smb.conf, lmhosts, secrets.tdb, smbpasswd, smbusers) and /var/cache/samba
(the remaining .tdb files and .dat files) and copy them to the new machine
will my domain be functional on the new machine?  

I do have a /etc/MACHINE.SID which I have kept around from previous samba
versions, but I am assuming that this is no longer used.  The old machine
will be turned on again, but not the samba services, so no conflicts of name
should arise.

I am hoping that this upgrade will be a fairly simple file copy to the new
machine.  Any feedback and previous experience would be greatly appreciated.

Thanks,

Marc




More information about the samba mailing list